Getting Started

Installation Instructions

The Wumps parser is written Python 3 and requires the Lark Python package to operate. Please set up a codecraftsmen virtual Python environment using virtualenvwrapper and then follow the installation instructions for the Lark package.

Make sure that Git is installed and then pull down the Wumps source code from GitHub using these commands:

mkdir -p ~/git
cd ~/git
git clone https://github.com/codecraftingtools/wumps.git

No futher installation is required.

Running the Parser

The parser can now be run like this:

workon codecraftsmen
cd ~/git/wumps
./wumps.py --ast test/test_intro.wumps

where test/test_intro.wumps is the Wumps-formatted input file to be processed.