prati0100 / YAPL

Yet Another Programming Language. The language syntax is inspired from Lua's grammar and compiles C-compatible binaries.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

YAPL

Yet Another Programming Language (YAPL) is a language with syntax inspired from Lua written for my compilers class. It does NOT compile Lua. Only the syntax is derived from Lua.

The grammar is taken from the Lua Manual.

To compile the compiler:

make

This will generate a debug version of the compiler that has assertions enabled and some other debugging enabled. The executable is output into bin/

To remove all object files and the generated flex and bison files, run:

make clean

To disable the debugging symbols:

make release

To run the compiler, call the executable with the input file as a command line argument. You can optionally specify the output file with the -o option.

About

Yet Another Programming Language. The language syntax is inspired from Lua's grammar and compiles C-compatible binaries.

License:MIT License


Languages

Language:C 68.6%Language:Yacc 19.9%Language:Lex 6.1%Language:Makefile 5.4%