Skip to content

DnaX/rubymm-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages