An interpreter for the BISAYA++ programming language, a Cebuano-based programming language designed to teach Cebuanos the basics of programming.
- Strongly-typed high-level interpreted language
- Cebuano-based keywords and syntax
- Support for basic data types (NUMERO, LETRA, TINUOD, TIPIK)
- Arithmetic and logical operations
- Control flow structures (KUNG, ALANG SA)
- Input/Output operations
- Install dependencies:
npm install- Run the interpreter:
npx ts-node src/index.ts sample.bisayaSUGOD
MUGNA NUMERO x, y, z=5
MUGNA LETRA a_1='n'
MUGNA TINUOD t="OO"
x=y=4
a_1='c' -- this is a comment
IPAKITA: x & t & z & $ & a_1 & [#] & "last"
KATAPUSAN
- Variable declarations with MUGNA
- Comments with --
- Case-sensitive variable names
- Reserved words in capital letters
- Special characters:
- $ for newline
- & for concatenation
- [] for escape codes
- NUMERO - Integer numbers
- LETRA - Single character
- TINUOD - Boolean values ("OO" or "DILI")
- TIPIK - Decimal numbers
MIT