/R--

An interpreter for R in C++

Primary LanguageC++GNU General Public License v3.0GPL-3.0

R--

Project Status Build Status

An interpreter for R in C++.

R--

About

This repository contains a toy implementation of an interpreter for R written in C++ to learn more about interpreters, lexers/tokenizers, parsers and ASTs. 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 requires you to have meson which you cat get from conda-forge or pip.

Author

Simon Dirmeier sfyrbnd @ pm me