JAST 1.1.3

Any tool that you think is useful, make a thread here and upload it.

Moderator: Cheaters

Forum rules
While crediting should be allowed, please keep down the advertising. If you know who it's from, and they have a website, please link to it as a basic courtesy.
owner123
Super Moderator
Posts: 1943
Joined: February 3rd, 2009, 11:28 pm
Been thanked: 1 time

Re: JAST Initial Release

Post by owner123 »

Released a new version with a user interface and visual code editor. Hopefully this will be more appealing to people who aren't used to command-line based tools.
The command-line is still available.

Additionally, I have fixed the issue posted above. If an "else" statement is empty, it will no longer be included.
User avatar
nuzamacuxe
Also Not an Admin, but closer than devoltz
Posts: 1655
Joined: February 14th, 2018, 5:35 am
Title: Just Another S.Mod
Been thanked: 6 times

Re: JAST 1.0

Post by nuzamacuxe »

Nice update. It's better than before.
saio
Member
Posts: 90
Joined: June 27th, 2007, 12:16 am

Re: JAST 1.0

Post by saio »

great does it contain any major changes to script optimizer?
it made my cp less kb than last release
owner123
Super Moderator
Posts: 1943
Joined: February 3rd, 2009, 11:28 pm
Been thanked: 1 time

Re: JAST 1.0

Post by owner123 »

I believe the only change made to the syntax writing is to make empty "else" blocks not be created (previously it added an else and then a single line after it and then endif).
Though there may be some other small optimizations I made before..
owner123
Super Moderator
Posts: 1943
Joined: February 3rd, 2009, 11:28 pm
Been thanked: 1 time

Re: JAST 1.0

Post by owner123 »

Added version 1.0.1

Fix a problem with syntax highlighting performance
Option to enable/disable syntax highlighting removed
Syntax highlighting on by default

Next steps:
- Autocomplete
- Native browser
- Syntax checker (not sure about this one)
User avatar
nuzamacuxe
Also Not an Admin, but closer than devoltz
Posts: 1655
Joined: February 14th, 2018, 5:35 am
Title: Just Another S.Mod
Been thanked: 6 times

Re: JAST 1.0

Post by nuzamacuxe »

Nice! For syntax checker you can use pjass to help just like JassCraft. Suggestion: syntax highlighting (colors) like JassCraft?
owner123
Super Moderator
Posts: 1943
Joined: February 3rd, 2009, 11:28 pm
Been thanked: 1 time

Re: JAST 1.0

Post by owner123 »

Ok, I admit I had no idea a fully working syntax checker already exists. Thank goodness, I was really not looking forward to writing that. It's written in c so interfacing it with java is going to be annoying but less annoying than writing from scratch. Thanks!

What do you mean by the syntax highlighting? Like making it the same color as JassCraft? Or customizable?
User avatar
nuzamacuxe
Also Not an Admin, but closer than devoltz
Posts: 1655
Joined: February 14th, 2018, 5:35 am
Title: Just Another S.Mod
Been thanked: 6 times

Re: JAST 1.0

Post by nuzamacuxe »

Lol. xD. You're welcome!

I didn't let it clear, sorry. Yeah, make the syntax highlighting to use the same colors as JassCraft.

Btw, do you know why this happened?
Spoiler:
Image
owner123
Super Moderator
Posts: 1943
Joined: February 3rd, 2009, 11:28 pm
Been thanked: 1 time

Re: JAST 1.0

Post by owner123 »

Hmm, what were you doing? Something to do with search? Unfortunately JavaFX stack traces are worthless and none of those classes specified are ones that I wrote, so I can't debug based only on that :(.

Also did that crash the entire program?
I'll adjust syntax highlighting colors and add dark theme.
User avatar
nuzamacuxe
Also Not an Admin, but closer than devoltz
Posts: 1655
Joined: February 14th, 2018, 5:35 am
Title: Just Another S.Mod
Been thanked: 6 times

Re: JAST 1.0

Post by nuzamacuxe »

I copied and pasted a .j file (huge one).

It didn't crash though.