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