| 08-22-2009, 07:52 PM | #1 |
| 08-22-2009, 10:53 PM | #2 |
cjass macro's > vjass macro's. Other than that I like vjass syntax more for warcraft 3. Main reason is that you're getting a real ugly mix of c-like syntax and jass syntax. For example: JASS:timer t = new timer call DestroyTimer(t) // sorry, but this is stupid. It should be "delete t" or else c syntax is worthless since you're still mixing it with old-school jass |
| 08-23-2009, 04:41 AM | #3 |
cJASS: The ultimate collection of anti-features that Vex has fought hard to not pollute the language with, all in one convenient package! |
| 08-23-2009, 05:38 AM | #4 | |
Quote:
"new" and "delete" are not C syntax. |
| 08-23-2009, 01:48 PM | #5 |
Ok, it's c++. I thought it was obvious enough what I meant... |
| 08-23-2009, 02:24 PM | #6 |
No. |
| 08-23-2009, 03:04 PM | #7 |
I looked at one of the example spells and the codes look terrible. |
| 08-23-2009, 03:13 PM | #8 |
Lol, vex, cJass is killing you! ![]() Btw, the preprocessor crashed in that part, xD looks like this is illegal or I made a syntax error, xD: JASS:define int = integer enddefine struct A int h int m endstruct |
| 08-23-2009, 03:32 PM | #9 |
what a horrible mess. They should have just made another language there, not just plaguing jass with horrible sytnax features that don't provide anything greater. |
| 08-23-2009, 04:35 PM | #10 | |
Quote:
Nah, they made a great job. I prefer working on C like syntax than jass syntax, C syntax is way more logic and easier to work once you get into it. They have improved a lot since they started, but they still need to implement the syntax better and sepparate more from JASS. I would really like a delete and new keywords instead of having to define them. I think the best thing is that I can extract some functions from my C++ math modules and pass them into my map. |
| 08-23-2009, 04:53 PM | #11 | |
Quote:
Being more familiar with C syntax (which cJass really isnt) doesn't mean more logic. I am familar with quite a bunch of languages (Delphi Pascal, Javascript, Java, C99, C++) so I really don't care if my jass has my syntax. If they added more really powerful features, like anonymous functions, namespaces, real subsscopes, and shit, i'd be impressed. The way it is, its just a way to clutter the syntax |
| 08-23-2009, 05:51 PM | #12 |
define is awesome ! <3 |
| 08-23-2009, 06:03 PM | #13 | ||
Quote:
This works: JASS:define { int = integer } struct A int h int m endstruct This works and looks nice: JASS:define int = integer struct A { int h, m } Quote:
Oh, atm Adolfushka already fixed that "enddefine" problem. |
| 08-23-2009, 06:25 PM | #14 | |
I think, it's our fault that somebody not related to the development started a thread about our tool, but we were going to release it to public only when it would be more stable and fully documented. I'm now working on stand-alone cJass Manual, it will be included to the package and available for download later this week. If you however choose to try cJass now and run into any bugs, please submit them to me, or to our Feedback section Quote:
|
| 08-23-2009, 08:45 PM | #15 |
Much better syntax than Jass or vJass. Maybe this will replace vJass for sometime. Isn't it open source? |
