Results 1 to 1 of 1
Thread: Anchor r57
- 03-18-2012, 11:22 AM #1Senior Member
- Join Date
- Sep 2011
- Rep Power
Anchor automatically adds curly braces and semicolons to code written in various programming languages, saving typing and making programs easier to read. It lets you pretend to be coding in Python or Lua while actually writing standard C, Java, PHP, C++, .NET, C#, or D. A script may generate files in the target language and invoke the compiler. An example bash script integrates with TCC to make runnable "scripts" with the speed of C. The scripts are easily modified to target another compiler or interpreter.
This release enables argument passing from the shebang line in source files. (it was not impossible after all). The handling of enumeration defines has significantly improved, but declaring a variable of type enum won't work without a semicolon. See test.anch for examples. Documentation updates have been made. Using the -p option will leave the #define on its own line. Users may want to update the lexer in their favorite IDE or text editor for proper syntax highlighting and hints when composing .anch sources for their programming language of choice.
URL: Advanced Negative Compilation Heuristic Ontological Refactorer
- By goodlily in forum AWT / SwingReplies: 2Last Post: 09-20-2011, 08:33 PM
- By alinaqvi90 in forum AWT / SwingReplies: 16Last Post: 11-17-2010, 02:02 PM
- By meghana in forum EclipseReplies: 3Last Post: 08-18-2010, 03:21 PM