A toy dynamic programming language written in Ruby
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789
  1. require 'pp'
  2. class CLI
  3. def self.run
  4. file = ARGV.first
  5. source = File.read(file).strip
  6. Parser.new(Lexer.new(source)).parse.each { |node| pp node }
  7. end
  8. end