~/talk

From Curiosity to Confusion: My Journey of Creating Confuscript in Ruby

Talkat RubyConf India 2024 · 2024-11-29..11-30· [ruby, compilers-and-language-design]
links:none on file
slides:none on file

Built a toy language called ConfuseScript that flips semantics: plus acts like minus, multiply like divide, and variables initialize with null while output uses the literal token console input. Implementation uses Ruby and the Treetop library with a parsing expression grammar to generate ASTs, node classes that evaluate against a hash-based context, and minimal evaluator logic so the whole thing fits a weekend project. Source is open source and ready to run and extend.

AI-written summary · about

  1. 0:00Introduction to Confuscript
  2. 1:26The motivation and goals
  3. 2:57Confuscript demonstrations
  4. 5:37Anatomy of the language
  5. 10:13Defining grammar and nodes
  6. 12:55Evaluation and final demos
  7. 16:27Q&A session
  8. 18:53Why learn to build languages
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.