Plant
June 25, 2023 ยท View on GitHub
Plant is a toy language for branching drawing with primitives which is especially useful for drawing plants.
About Plant
Plant is used for creative drawing and for demoing how to build a simple language in ANTLR runnable in browser via Javascript.
Use / More Info
Use Plant online at https://plantlang.ink.
Build it yourself
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).
Language Reference
See https://plantlang.ink#languageReference.
Extend
To extend Plant, see more about how it is built.
License
MIT Licensed. See LICENSE.txt. Though may not be required, released with employer permission.
Open source
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.