kotborealis / seiran

πŸš€πŸŒ™ Simple lua-like language interpreter built using antlr4

Home Page:https://kotborealis.github.io/seiran/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Seiran

πŸš€πŸŒ™ Simple lua-like language interpreter built using antlr4

Online REPL (hosted on Github pages)

Screenshot

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.

About

πŸš€πŸŒ™ Simple lua-like language interpreter built using antlr4

https://kotborealis.github.io/seiran/


Languages

Language:JavaScript 96.4%Language:ANTLR 1.8%Language:HTML 0.9%Language:CSS 0.9%Language:Lua 0.1%