Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

R--

Project Status Build Status codecov Codacy Badge

An interpreter for R in C++.

R--

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

About

An interpreter for R in C++

Topics

Resources

License

Releases

No releases published

Packages

No packages published