|
3a556296b6
|
Add Text:repeat()
|
2024-09-04 21:22:03 -04:00 |
|
|
00543b4e87
|
Add Text.map(pat, fn)
|
2024-09-04 21:02:37 -04:00 |
|
|
93140c2896
|
Document CLI parsing
|
2024-09-04 16:29:18 -04:00 |
|
|
453c3610f9
|
Support parsing enums (without members)
|
2024-09-04 16:21:27 -04:00 |
|
|
3513b94fc7
|
Unify parsing code to correctly handle parsing integers and numbers with
a &success boolean. Check for overflow as well.
|
2024-09-04 16:08:34 -04:00 |
|
|
973b1c55c2
|
Fix array CLI arguments
|
2024-09-04 15:30:38 -04:00 |
|
|
e9796e1433
|
Improve command line parsing (no more cords)
|
2024-09-04 15:23:23 -04:00 |
|
|
11b484a6a2
|
Document ask()
|
2024-09-04 15:03:54 -04:00 |
|
|
05bc754679
|
Add ask() as a way to get user input
|
2024-09-04 14:55:00 -04:00 |
|
|
570c4c63ca
|
Remove readline dependency
|
2024-09-04 14:36:23 -04:00 |
|
|
0d098c118b
|
Add automatic --help to print usage
|
2024-09-04 14:34:24 -04:00 |
|
|
f99e94c532
|
Document {nl}
|
2024-09-04 14:13:42 -04:00 |
|
|
716c30d592
|
Add nl/newline/clrf pattern
|
2024-09-04 14:12:41 -04:00 |
|
|
0a3b3bf9eb
|
Fix const correctness
|
2024-09-04 13:50:59 -04:00 |
|
|
ac507da537
|
Remove unused code path for >> f := use ./foo.tm
|
2024-09-04 13:49:41 -04:00 |
|
|
d1b2e9f598
|
Disallow 'use' statements that aren't top level
|
2024-09-04 13:48:26 -04:00 |
|
|
f605df8230
|
Minor codegen cleanup
|
2024-09-04 13:37:00 -04:00 |
|
|
97a964aa86
|
Implicit filename for table getting
|
2024-09-04 05:05:31 -04:00 |
|
|
af15e89303
|
For arrays, use implicit filename from macro
|
2024-09-04 05:04:45 -04:00 |
|
|
1092185c84
|
Improve codegen by making test() even more concise
|
2024-09-04 05:01:21 -04:00 |
|
|
85f1210b1a
|
Bugfix
|
2024-09-04 04:34:31 -04:00 |
|
|
79c1e8f989
|
Don't put __SOURCE_FILE__ in header
|
2024-09-04 03:04:42 -04:00 |
|
|
e0aca8fa72
|
Add method for getting a length-based string as Text
|
2024-09-04 03:02:30 -04:00 |
|
|
c3f8b40c84
|
Document empty tables/arrays
|
2024-09-04 01:57:34 -04:00 |
|
|
df844946f7
|
Add Text:matches() for convenience and performance
|
2024-09-04 00:34:27 -04:00 |
|
|
ec688c11bb
|
Clean up codegen so $Foo"..." comes out as foo$Foo("...") instead of
Text("...")
|
2024-09-04 00:18:03 -04:00 |
|
|
fbb7bee68b
|
Don't bold DSL text
|
2024-09-03 23:55:11 -04:00 |
|
|
805082d299
|
Minor codegen cleanup Texts(...)
|
2024-09-03 23:35:42 -04:00 |
|
|
f60edfbe7f
|
Improve codegen for doctests a little bit by using __SOURCE_FILE__ macro
and making assignments use (x = 4, &x) syntax instead of ({ x = 4; &x })
|
2024-09-03 23:32:02 -04:00 |
|
|
b8bb4ada8b
|
Add recursive mode to text replacement and update docs
|
2024-09-03 23:16:45 -04:00 |
|
|
02dbcbf8b5
|
Update docs
|
2024-09-03 22:59:36 -04:00 |
|
|
850fc8fbe1
|
Clean up text replacement API to use backrefs instead of match_chain()
|
2024-09-03 22:56:53 -04:00 |
|
|
79b48365d6
|
Add comments
|
2024-09-03 21:34:29 -04:00 |
|
|
d321a23b3d
|
Bugfix for "?"
|
2024-09-03 21:32:29 -04:00 |
|
|
cd23e72d33
|
Update README example
|
2024-09-03 21:10:08 -04:00 |
|
|
e15cb21cd5
|
Fix up CLI parsing
|
2024-09-03 21:09:11 -04:00 |
|
|
c14ed3e3e7
|
Add Text.replace_all({Pattern:Text}) and tweak API for replacement to
support placeholders
|
2024-09-03 20:48:11 -04:00 |
|
|
3c2c1a308b
|
Bugifx for Pattern.from_unsafe_text
|
2024-09-03 15:27:13 -04:00 |
|
|
6622fb8089
|
Bugfix for text method lookups
|
2024-09-03 15:25:33 -04:00 |
|
|
e86813d9c1
|
Bugfix for $/{..}/
|
2024-09-03 15:14:46 -04:00 |
|
|
75b7032363
|
Show error output on test failure
|
2024-09-03 15:14:08 -04:00 |
|
|
82849ba783
|
Use Text("...") literal constructor instead of Text$from_str("...")
function call.
|
2024-09-03 15:00:28 -04:00 |
|
|
29a87ff325
|
Support literal Text("blah") for text that is constant ASCII strings
|
2024-09-03 14:48:54 -04:00 |
|
|
de7b564a91
|
Escape question marks in patterns
|
2024-09-03 14:31:21 -04:00 |
|
|
91c5dc61c1
|
Change pattern syntax from [..pat] to {pat}
|
2024-09-03 14:27:09 -04:00 |
|
|
64143f0a13
|
Syntax overhaul (comments back to # , print statments to !! ),
using `$/.../` for patterns and using a DSL for patterns
|
2024-09-03 13:19:41 -04:00 |
|
|
5feecff9d9
|
Deprecate Where and change channel API to use a boolean front value
|
2024-09-03 03:53:36 -04:00 |
|
|
5f0b099e14
|
Better behavior for invalid character names
|
2024-09-03 01:32:00 -04:00 |
|
|
b517f3b287
|
Fix codepoint names by falling back to block names
|
2024-09-03 01:30:07 -04:00 |
|
|
e98e77e1d3
|
Fix for missing codepoint names
|
2024-09-03 01:20:36 -04:00 |
|