R--
An interpreter for R in C++.
About
This repository contains a toy implementation of an interpreter for R written in C++.
The project is mainly to understand how interpreters, lexers/tokenizers, parsers, ASTs and things like that work exactly.
Since R and C++ are the greatest languages of all time, I chose to try it on these.
However the lexer of course can translate to any language. So far the interpreter can do:
basic arithmetic,- functions,
- data-structures,
- clauses,
- loops.
Installation and Usage
Clone/download the project and run:
meson build . && ninja -C build
./build/src/R--This of course requires you to have meson which you cat get from conda-forge or pip.
Author
Simon Dirmeier simon.dirmeier@web.de
