Logo
Explore Help
Sign In
josh/propane
1
0
Fork 0
You've already forked propane
Code Issues 3 Pull Requests Projects Releases Wiki Activity
150 Commits 4 Branches 7 Tags
Commit Graph

16 Commits

Author SHA1 Message Date
Josh Holtrop
03b2e87186 Grammar takes in input string instead of file name 2021-06-06 10:09:53 -04:00
Josh Holtrop
b6e3a5c151 Record accepting token in DFA state 2021-05-25 16:00:25 -04:00
Josh Holtrop
35ef94dbd3 Print out DFA to test 2021-05-25 15:52:47 -04:00
Josh Holtrop
c77c81bf25 Mark regex NFA end state as accepting the token 2021-05-18 16:34:26 -04:00
Josh Holtrop
7196a0605a Add DFA class 2021-05-18 16:31:16 -04:00
Josh Holtrop
24054461a2 Merge Regex::Parser into Regex, move Unit to its own file 2021-05-18 16:14:42 -04:00
Josh Holtrop
791340b292 Build NFA for each token pattern 2021-05-17 22:57:18 -04:00
Josh Holtrop
cf8718b69c Allow token definition with no pattern 2021-05-17 22:40:23 -04:00
Josh Holtrop
b04ff56308 Add Regex class 2021-05-02 15:22:45 -04:00
Josh Holtrop
13403405b0 Add Error class to handle grammar loading errors 2021-05-01 16:54:24 -04:00
Josh Holtrop
07dd68e367 Write output file from ERB template 2021-05-01 16:44:01 -04:00
Josh Holtrop
768a0ef17f Extract class name from grammar file 2021-05-01 14:34:00 -04:00
Josh Holtrop
9e865d1982 Throw error on unexpected grammar input line 2021-05-01 09:40:22 -04:00
Josh Holtrop
9884047090 Skip blank lines 2021-05-01 09:39:19 -04:00
Josh Holtrop
04393dcc51 Check for duplicate token names; skip comment lines 2021-05-01 09:38:08 -04:00
Josh Holtrop
37ad87d602 Rename GrammarParser -> Grammar 2021-05-01 09:33:35 -04:00
Powered by Gitea Version: 1.23.7 Page: 162ms Template: 6ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API