ertaboy356b
Old School Gamer
- Reaction score
- 86
Please leave scope alone..
| is or.
Perhaps something like ~ or \
But I don't see the need for that.
public or [del]pub[/del] keyword?
private or [del]priv[/del] keyword?
Anyone care if I eliminate scopes, and make it 100% library-based?
Does anyone have a better name for libraries!?
Start/end blocks, or { } blocks?
C-Like function declarations (return-type name(arguments...)), or normal JASS-Type declarations (I can do any other kind if anyone wants. As long as people agree on it. I just think that C-Like functions are cool, but that's my personal opinion)?
Isn't it || or, && and?
Trufax, but it would be confusing if | had both functions.
Maybe an easy way to debug the codes such as:
debug << "C style"; (debugging only)
becomes call BJDebugMsg("Jass style");
The << operators are ugly, if anything you should just use something like:
print "message"
or
print("message")
if (value > 0) {
return 100;
} else {
return -100;
}
return (value > 0) ? 100 : -100;
You know, the more features I implement, the longer it takes to create.
It'll be awhile before I get everything working correctly.
If there are any {} in this language, I assure you I would rather code with vanilla JASS.
use namespace instead of library : \
>print("message")
No, use printf...
Actually, you should just do the compiler. I'd like, if you want, to do an IDE for your compiler.
int main(int argc, char *argv[])
{
// argv[0] could be the in file
// argv[1] could be the out file
}
String[] cmd = new String[3];
cmd[0] = "compiler.exe"; // program
cmd[1] = "in.j"; // input file
cmd[2] = "out.j"; // output file
Runtime.getRuntime().exec(cmd); // execute compiler
// Then done.