VES++
Jump to navigation
Jump to search
VES++ has included the most common languages from west Europe (and for some random reason the Turkish language is also included). This way many people are able to understand a part of the code, yet (probably) not everything. In my opinion it is a fun way to get involved with other languages!
Detailed description and specification and an implementation of the language can be found here.
Symbols
| Type | Word in this language | Language where it comes from |
|---|---|---|
| Plus operator | mas | Spanish |
| Minus operator | eksi | Turkish |
| Multiply operator | vezes | Portugese |
| Division operator | dela | Swedish |
| Assignment | er | Norwegian |
| If | ef | Icelandic |
| Else | annars | Icelandic |
| While | aika | Finnish |
| Equal operator | lig | Danish |
| Not equal operator | unterschiedlich | German |
| Terminate character (;) | fin | French |
| Left parenthesis | haakje_begin | Dutch |
| Right parenthesis | haakje_eind | Dutch |
| Left bracet | fa_inizio | Italian |
| Right bracet | fa_fine | Italian |
| Print statement | taispeain | Irish |
| Symbol | Usage |
|---|---|
| $ | Line starting with '$' are comment lines |
| # | This character ends the print-statement |
| @ | Every variable starts with an @ |
| > | Greater than |
| >= | Greater than or equal to |
| < | Smaller than |
| <= | Smaller than or equal to |
Examples
Hello World
Prints ASCII values.
taispeain 72 fin 101 fin 108 fin 108 fin 111 fin 32 fin 87 fin 111 fin 114 fin 108 fin 100 fin #
Truth-machine
Replace <input> with your input.
@the_program_input er <input> fin aika haajke_begin @the_program_input lig 1 haajke_end fa_inizio taispeain 1 fin # fa_fine taispeain 0 fin #
External resources
- An interpreter on GitHub