5a49998c2c
Add a toCSV to go along with the fromCSV
2025-11-03 19:28:00 +01:00
590f19603e
Make regex matching set INTEGER keys not string
2025-11-03 19:07:15 +01:00
ee8c4b9aa5
Ah oops, can't be local oopsie!!
2025-11-03 16:35:53 +01:00
e8d6613ac8
Add ParseCSV as lua function
2025-11-03 16:33:44 +01:00
346afdd143
Fix some shit
2025-10-23 00:19:07 +02:00
635ca463c0
Hallucinate fixes to some tests
2025-10-21 10:38:39 +02:00
ec24e0713d
Simplify EvalRegex function by removing unnecessary panic handling and nil checks
2025-10-21 09:57:02 +02:00
af3e55e518
Fix some retarded bullshit
2025-08-22 00:10:46 +02:00
13b48229ac
Fix some bullshit (the re)
2025-08-22 00:05:22 +02:00
670f6ed7a0
Add tests for EvalRegex
2025-08-21 23:56:05 +02:00
388e54b3e3
Add comprehensive help string for available Lua functions
2025-08-21 22:32:10 +02:00
6f2e76221a
Add real regex support to lua
2025-08-21 22:27:37 +02:00
bff7cc2a27
Hallucinate a json mode implementation
2025-08-21 20:39:35 +02:00
6eb4f31127
Implement regexes, an entry option allow for same modification to apply to multiple regexes and variables that can be referenced in lua
2025-08-08 09:50:31 +02:00
4b58e00c26
Hallucinate some logs
...
Hallucinate more logs
fix(utils/db.go): handle auto migration errors gracefully
fix(utils/modifycommand.go): improve file matching accuracy
fix(processor/regex.go): improve capture group deduplication logic
fix(utils/db.go): add logging for database wrapper initialization
feat(processor/regex.go): preserve input order when deduplicating capture groups
fix(utils/modifycommand.go): add logging for file matching skips
feat(processor/regex.go): add logging for capture group processing
feat(main.go): add trace logging for arguments and parallel workers
fix(main.go): add trace logging for file content
fix(utils/db.go): add logging for database opening
fix(main.go): add trace logging for file processing
fix(utils/modifycommand.go): improve file matching by using absolute paths
feat(modifycommand.go): add trace logging for file matching in AssociateFilesWithCommands
feat(main.go): add per-file association summary for better visibility when debugging
2025-08-08 08:10:51 +02:00
052c670627
Add a simple trim to lua
2025-07-21 21:00:11 +02:00
75bf449bed
Remove logger and replace it with a library
2025-04-18 12:47:47 +02:00
c5d1dad8de
Rename project to "cook" and ditch loading fgrom args, now files exclusively
2025-04-09 09:47:53 +02:00
e634fe28bd
Clean up processor
2025-03-27 22:24:59 +01:00
867b188718
Work out file reading and writing
2025-03-27 22:02:36 +01:00
912950d463
Remove the vestiges of xml and json
2025-03-27 21:31:45 +01:00
f4a963760a
Add dumptable helper function
2025-03-27 20:07:59 +01:00
d236811cb9
Introduce a new logging level for lua values
2025-03-27 20:06:50 +01:00
da93770334
Add strsplit lua helper
2025-03-27 19:56:31 +01:00
e847e5c3ce
Make little better logging
2025-03-27 18:53:02 +01:00
9cea103042
Implement a more better logging solution
2025-03-27 17:53:43 +01:00
3e818e61c7
Add string.format shortcut to lua
2025-03-27 15:38:07 +01:00
a9b6f7f984
Implement printing from lua
2025-03-26 13:37:39 +01:00
e31c0e4e8f
Implement xpath (by calling library)
2025-03-26 01:19:41 +01:00
73d93367a0
Refactor some things around a little
2025-03-25 23:16:03 +01:00
4eed05c7c2
Fix some more minor bugs and tests
2025-03-25 19:14:21 +01:00
aba10267d1
Fix more tests
2025-03-25 18:47:55 +01:00
fed140254b
Fix some json tests
2025-03-25 18:32:51 +01:00
db92033642
Rework rounding and building lua script
...
To allow user script to specify what was modified where
2025-03-25 18:28:33 +01:00
15ae116447
Fix up some miscellaneous shit around the project regarding lua conversions
2025-03-25 17:46:21 +01:00
d2419b761e
Implement a generic translator between lua and go tables (maps)
2025-03-25 17:27:20 +01:00
430234dd3b
Clean up after claude
2025-03-25 17:27:20 +01:00
17bb3d4f71
Refactor everything to processors and implement json and xml processors such as they are
2025-03-25 17:27:20 +01:00