Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

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

Rubymm-interpeter

An educational interpreter for Ruby-- meta-language

This project is simply an interpreter for a small sub-set of Ruby language. It is only for educational purposes.

Features

Currently Ruby-- can recognize and execute this features:

  • Commands: assignment, while, if...else, puts, gets
  • Literals: strings, numbers, bools and nils
  • Aritmetic operators: +, -, *, /, %
  • String operators: +, * (String * Number, repeat left string x times)
  • Bool operators: or, and
  • Compare operators: ==, !=, <=, >=, <, >
  • Functions: with params and return value (also recursive)

Build

For build Ruby-- interpeter you need Code::Blocks IDE (GNU Autotools support is desiderabile).

Dependencies

  • Flex a lexical analyzer

About

An educational interpreter for Ruby-mm language

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages