Chervil is a toy Lisp interpreter written in Ruby
Você não pode selecionar mais de 25 tópicos
Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
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
|