Plant is a toy language for branching drawing with primitives which is especially useful for drawing plants.
Plant is used for creative drawing and for demoing how to build a simple language in ANTLR runnable in browser via Javascript.
Use Plant online at https://plantlang.ink.
Simply copy the antlr jar into the language directory of a clone of this repo and run make.sh
. Then, start a local server under the demo subdirectory (like python -m http.server 9000
).
See https://plantlang.ink#languageReference.
To extend Plant, see more about how it is built.
MIT Licensed. See LICENSE.txt. Though may not be required, released with employer permission.
Plant uses the following:
- ANTLR under the BSD License.
- Ace Editor under the BSD License.
Thanks to arithmetic by Tom Everett under inline BSD License and the ANTLR Mega Tutorial by Gabriele Tomassetti under the MIT License.