Worldlang is just language notation of json. How do if
statements expressed, while
statements, and some basic syntaxes.
The codes are English++, and it will transpiled into another language, wrotten in language.json
.
You can also use another language, if there is parser to transpile.
English++ is a programming language, that everyone can read, learn and write easily. Basic syntaxes are written here.
The English++ was only able to transpile into C++
language because the syntaxes were hard-coded in the format like, if ({exp}) {{{block}}}
. But, by Worldlang, now it can transpiled into most languages.
Please contribute more engines here.
But, Worldlang can't express every languages. Python, uses indents as a block, so Worldlang and English++ can't write python codes.
So, External engines
will help us. Python library Bython helped me. To run Bython
can make Complete Python code.
be written in template.jsonc. If you can, you don't even need to read it. It's just a manual how to transpile. If there is if true
code, the parser engine will find (root).blocks.if
and apply it.
We need more. Some languages print string in stdout
with print
, some use console.log
, and so. So worldlib
help us. Implementation is written here.
Just with C++, Node.js, PHP, Python, it's enough to write great codes.
- Stable, Completely transpiled
- C++
- Node.js
- Stable, Incompletely transpiled
- PHP
- Working in progress
- Python
- Kotlin
- Ruby