Logo
Explore Help
Register Sign In
humza/sml-projects
1
0
Fork 0
You've already forked sml-projects
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
582 Commits 1 Branch 0 Tags
7dc94632d659e66bf75ccb24d73d2b704a8bbbd0
Commit Graph

10 Commits

Author SHA1 Message Date
Humza Shahid
7dc94632d6 fix backtracking bug in 'Nfa.getMatchesInRange' (we were passing the wrong value instead of 'strIdx' in the recursive call to the loop function) 2025-09-29 13:13:14 +01:00
Humza Shahid
b6720ed5f1 first pass of 'get matches in range from nfa' functionality 2025-09-29 12:18:45 +01:00
Humza Shahid
8d29bfab78 adjust nfa to return all matches in string, instead of just testing for one match and then returning true 2025-09-29 10:28:03 +01:00
Humza Shahid
f52a8306ea add comments to ongiong NFA implementation 2025-09-29 08:33:10 +01:00
Humza Shahid
6b7485f753 change NFA interpreter slightly so that, if we see that a match is invalid at some place, we check in the next place to see if it is valid later in the string 2025-09-29 02:00:04 +01:00
Humza Shahid
f8b707de20 interpret concatenation and alternation in nfa 2025-09-29 01:45:28 +01:00
Humza Shahid
e01712a065 progress interpreting alternation in nfa 2025-09-29 01:06:15 +01:00
Humza Shahid
d9720c5643 begin adding interpretation for NFA 2025-09-29 00:46:05 +01:00
Humza Shahid
d75b1a18ff flatten repeated concatenations and alternations into a single list when possible 2025-09-28 22:23:48 +01:00
Humza Shahid
032ca56bbf add initial implementation of compiling a regex string to an NFA 2025-09-28 22:01:44 +01:00
Powered by Gitea Version: 1.25.5 Page: 906ms Template: 5ms
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