File: console

package info (click to toggle)
ruby-regexp-parser 2.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, trixie
  • size: 968 kB
  • sloc: ruby: 6,396; sh: 12; makefile: 6
file content (17 lines) | stat: -rwxr-xr-x 363 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env ruby

require 'bundler/setup'
require 'regexp_parser'
require 'regexp_property_values'

RL = Regexp::Lexer
RP = Regexp::Parser
RS = Regexp::Scanner
PV = RegexpPropertyValues

def lex(...);   Regexp::Lexer.lex(...)    end
def parse(...); Regexp::Parser.parse(...) end
def scan(...);  Regexp::Scanner.scan(...) end

require 'irb'
IRB.start(__FILE__)