Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 660 Bytes

README.md

File metadata and controls

43 lines (29 loc) · 660 Bytes

riddle

A toy imperative Pascal/C compiled language.

How to run

Requirements

  1. Install meson
pip3 install --user meson
  1. Install ninja build system

  2. Run the following in terminal:

meson builddir

On each compilation/execution

meson compile -C builddir
cd builddir
./lexer_demo

Test iteration

meson test -v -C builddir

Add these commands to your text editor for fast access.

For vim, you can add these options to .vimrc or .localvimrc

nmap <leader>cc meson compile -C builddir
nmap <leader>ct meson test -C builddir