{"id":80320,"library":"rltk","title":"RLTK","description":"Provides classes for creating context-free grammars, lexers, parsers, and abstract syntax trees.","status":"active","version":"3.0.1","language":"ruby","source_language":null,"source_url":"https://github.com/chriswailes/RLTK","tags":["parser","lexer","grammar","ast"],"install":[{"cmd":"gem install rltk","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'rltk', '~> 3.0.1'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"RLTK","correct":"require 'rltk'"}],"quickstart":{"code":"require 'rltk'\nlexer = RLTK::Lexer.new do |l|\n  l.token(:NUMBER, /\\d+/)\nend\nparser = RLTK::Parser.new do |p|\n  p.production(:expr, [:NUMBER]) { |n| n.to_i }\nend","lang":"ruby","description":"Define a simple lexer and parser for numbers using RLTK."},"warnings":[],"env_vars":null,"search_vec":"'abstract':13 'ast':19 'class':3 'context':7 'context-fre':6 'creat':5 'free':8 'grammar':9,18 'lexer':10,17 'parser':11,16 'provid':2 'rltk':1 'syntax':14 'tree':15","created_at":"2026-06-18T05:20:13.861915+00:00","updated_at":"2026-06-18T05:20:13.861915+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/chriswailes/RLTK","github":"https://github.com/chriswailes/RLTK","docs":"http://www.rubydoc.info/gems/rltk/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}