https://github.com/kotborealis/seiran
🚀🌙 Simple lua-like language interpreter built using antlr4
https://github.com/kotborealis/seiran
antlr4 github-pages javascript js library lua repl
Last synced: 5 months ago
JSON representation
🚀🌙 Simple lua-like language interpreter built using antlr4
- Host: GitHub
- URL: https://github.com/kotborealis/seiran
- Owner: kotborealis
- Created: 2019-02-22T14:05:22.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-04-29T15:47:20.000Z (about 1 year ago)
- Last Synced: 2025-04-29T16:43:32.904Z (about 1 year ago)
- Topics: antlr4, github-pages, javascript, js, library, lua, repl
- Language: JavaScript
- Homepage: https://kotborealis.github.io/seiran/
- Size: 2.31 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Seiran
🚀🌙 Simple lua-like language interpreter built using antlr4
[Online REPL (hosted on Github pages)](https://kotborealis.github.io/seiran/)

## Implemented
* Statements:
* global/local variables
* global/local functions
* function call
* break
* while - do
* if - then - else - if - end
* for - do - end
* Expressions:
* nil, true, false
* number
* string
* function expression (lambda)
* tableconstruct
* power operator
* unary operators
* mul/div operators
* add/sub operators
* comparison operators
* and/or operators
## Build executable
To build executables for linux-x64, windows-x86 and windows-x64, run
`npm run pkg`.
Built executables are located in `./build/` directory.
## Build webapp
To build and deploy webapp, run `npm run depliy`.