Class: LangRubymoji
- Inherits:
-
Resyma::Language
- Object
- Resyma::Language
- LangRubymoji
- Defined in:
- lib/resyma/nise/rubymoji.rb
Instance Attribute Summary
Attributes inherited from Resyma::Language
Instance Method Summary collapse
Methods inherited from Resyma::Language
#build_language, #built?, #initialize, #load, load, #load_ast, #load_parsetree!
Constructor Details
This class inherits a constructor from Resyma::Language
Instance Method Details
#syntax ⇒ Object
4 5 6 7 8 |
# File 'lib/resyma/nise/rubymoji.rb', line 4 def syntax (id("O"); "."; id("O"); str("??")) >> "🤔" (id("o"); id("^"); id("o")) >> "🙃" (id("Zzz"); ".."; "("; id("x"); "."; id("x"); ")") >> "😴" end |