Chervil is a toy Lisp interpreter 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.
123456789101112131415 |
- module Chervil
- class Token
- attr_reader :type
- attr_reader :value
-
- def initialize(type, value)
- @type = type
- @value = value
- end
-
- def ==(other)
- @type == other.type && @value == other.value
- end
- end
- end
|