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.

core.rb 172B

1234567891011
  1. CORE = {
  2. :print => -> *args do
  3. args.each do |arg|
  4. if arg.is_a?(Array)
  5. puts "[#{arg.join(', ')}]"
  6. else
  7. puts arg
  8. end
  9. end
  10. end,
  11. }