nateburgers / LarkDemo

Demo of Prototyping langauge Lark
1 stars 1 forks source link

Lark Demo (was "Snark Demo")

Demo of Prototyping langauge Lark

Please excuse the title change and lack of documentation. The name of Lark was originally Snark, and due to the rush of MHacks I did not have the time to rename everything in the repository.

The Demo Video

http://youtu.be/rAiNeY-aReY

Neat Files to Check Out:

SNExt.m An implementation of Monadic Parser Combinators from "Higher Order Functions for Parsing"

SNEval.m A runtime of Scheme based off of "The Structure and Interpretation of Computer Programs"'s Metacircular Evaluator

Note that this is "Hackathon Level" Code: Interesting and experimental, but quickly written!

How to run the demo

Startup a TCP server from terminal on port 13370 To do so, open up a terminal window and type [nc 13370]

Then open the .xcodeproj and build and run the app in the simulator.

Follow along in the excellent YouTube video linked above to see how to interact with the app from the terminal