Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

ANI Compiler

Name: Anonymous 2010-06-26 8:36

http://code.google.com/p/anic/
* Faster than C
* Fully parallel threaded code
* Optimized dataflow language
In fact, ANI is designed to abstract away from the idea of an "algorithm" altogether, which further goes to demonstrate that you can't neatly apply explicit ideas of parallelism to an implicitly parallel language.

Name: FrozenVoid 2010-06-26 13:06

Q: Why are backslashes (\) used as language operators? Isn't that confusing, given they're used in other languages as escape characters?

A: This is a valid point, but backslashes were chosen for a purely pragmatic reason; on virutally all keyboards, backslashes are very easy to type (requiring only a single keystroke). This is a handy property for backslashes to have because in ANI, you'll be typing them a lot!

Incomers from other languages might be thrown off a tiny bit, but a programmer that's spent some time with ANI will quickly come to realize that there is actually never any good reason to end a line of ANI code with a syntactual backslash! If one insists on doing so anyway, they are writing ill-formatted code that would be confusing regardless of how backslashes are interpreted by the language. Thus, the backslash conflict is there in theory but irrelevant in practice.

The usage of \ in the language syntax is a thought-out practical compromise, though the issue may be reconsidered in the future depending on programmer feedback.


Thats pretty bad, since escape characters, urls and path separators share that character code. Adding it for the sole reason of avoiding pressing more than one button is silly, reminds me of huge chinese keyboards which have 1 glyph each. 
We waste far more energy type longer variable names.




__________________
Orbis terrarum delenda est

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List