Aadhavan Srinivasan Rockingcool
  • Joined on 2022-10-09
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-24 14:51:01 -06:00
ccb82f781b Enforce the rule that character classes must have at least one character; interpret literal closing brackets as regular characters
09bbf8d3f1 Refactored isNormalChar(), wrote function to get special characters that have metachar replacements
d5b4450e50 Added more test cases (1 failing)
45827b5dd3 Allow hyphen to be escaped inside character class
c26edcb0c4 Fixed edge cases with character ranges and character classes
Compare 5 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-24 10:12:10 -06:00
110298b6a6 Added 'flags' field to test struct for all-group tests
eff4c5a5df Added 'flags' field to test struct for 0-group tests
Compare 2 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-22 19:28:04 -06:00
0bd7a87797 Removed old comment
9cf1c66653 Implemented character range detection later in the code, using a metacharacter
9edc99d73c Modified genRange() so that it can work on ints and runes
Compare 3 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-22 15:51:24 -06:00
6850396bf9 Removed character range creation from the first part of shuntingYard() (the part that adds concatenation operators), because octal and hex values haven't yet been deciphered at this point in the code
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-21 21:19:49 -06:00
ae09462bd4 Added important note
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-21 21:16:45 -06:00
d210a85253 Updated handling of '\b' when inside character class, made invalid
48cff259b2 Updated tests
25cb79f01b Changed the value of EPSILON, so that we can use the NUL character
0fb78abf7f Added function to replace an element in a slice given its value
9dc4fd4595 Started adding tests from Python's RE test suite
Compare 7 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-19 21:57:02 -06:00
fb46ed62d9 Added tests for FindString
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-19 21:45:30 -06:00
47ec95f7bb Created function that returns a 'default' state
a14ab81697 Updated function names, addeed new function 'FindString' that returns the _text_ of the match
7056026e10 Added a new class 'CHARCLASS', which represents a character class with some other postfixNodes in it. The 'except' field now contains a list of postfixNodes rather than runes
b81a2f8452 Added functions to find if a character is a valid hex value and a valid octal value
fcdb4a8868 Added another test, changed function calls to match new names
Compare 7 commits »
Rockingcool pushed to master at Rockingcool/ccat 2025-01-17 15:08:34 -06:00
fde29d0733 Construct config path using user's home directory, instead of trying to guess what the home directory is
Rockingcool pushed to master at Rockingcool/Game-of-Life-Exercism 2025-01-17 10:44:52 -06:00
2c99555ed7 First commit
Rockingcool pushed to master at Rockingcool/Game-of-Life-Exercism 2025-01-17 10:41:31 -06:00
fa27a5d0ba First commit
Rockingcool created branch master in Rockingcool/Game-of-Life-Exercism 2025-01-17 10:41:30 -06:00
Rockingcool created repository Rockingcool/Game-of-Life-Exercism 2025-01-17 10:40:04 -06:00
Rockingcool pushed tag v0.2.1 to Rockingcool/ccat 2025-01-11 13:16:08 -06:00
Rockingcool pushed to master at Rockingcool/ccat 2025-01-11 13:12:13 -06:00
434c804b08 Added license
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-09 10:39:26 -06:00
3f0360b9be Fixed bug where I used the 'lookaroundNumCaptureGroups' member of the wrong State struct
0956dddd81 Fixed bug where I checked if flag was enabled before calling flag.Parse()
0b84806fc4 Added 'flags' to the Compile function, instead of maintaining global state to check whether certain features were enabled
Compare 3 commits »
Rockingcool pushed to master at Rockingcool/s4g 2025-01-07 12:08:05 -06:00
628a03b2da New feature: Exclude all files and directories inside the 'exclude' directory in 'source'
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-06 20:15:18 -06:00
24fa365be1 Moved some auxiliary functions into compile.go; use new API for compiling and finding matches
1da3f7f0e0 Changed API for match-finding functions - take in a Reg instead of start state and numGroups separately
8e8067482a Rewrote to use new API for compiling and finding matches
644ed15af0 Use new API for findAllMatches
c8613c1ba2 Major restructuring - added new type, changed return types for shuntingYard and thompson
Compare 8 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-03 18:18:14 -06:00
3fa4d0f75e Updated TODO
6f9173f771 Finished support for -m flag; refactoring pending
Compare 2 commits »
Rockingcool pushed to master at Rockingcool/kleingrep 2025-01-03 15:49:35 -06:00
8a0586d107 Added support for printing specific match indices ('-m' and '-p' flags combined)