Vortex - A New Language
If you have stumbled onto this website, Hello!
It's not finished yet. Not even close. The book you can download is only half finished, most of the menu items don't work, and not all the code examples are even finished. What is here works though!
This entire website has been coded in Vortex, hence how the examples can run - the Vortex runtime is live and available! Please check back here for more information, or you can always post a message to me on my (much more professional looking) website Tornado Design Which also happens to be written in Vortex too!
There are just ten rules to follow in this language's grammar, and if you can master these, you can build programs in Vortex.
- Vortex code starts with <? and ends with ?>.
- A VTX Script file can contain web code (HTML, CSS, JS, Etc) and Vortex code.
- You can have multiple sections of Vortex code in a single file.
- Comments in Vortex code are surrounded by the tags <!-- -->.
- Every Name being used, eg a Variable name, is in speech marks.
- If the value of a variable etc is to be used, the name is without speech marks.
- Every command in Vortex has the same format - the command comes first, then the parameters, finally a semi colon. Vortex is case sensitive.
- Any conditional statements are in smooth brackets. ( )
- Any sub items / code lines are in curly brackets. { }
- Compound commands (where a command is used within a command) are in square brackets. [ ]