de4e072c97
Arg counts are leaking somehow
2023-07-14 17:43:13 -03:00
4dc22ff2da
More tests. They pass individually and fail as a whole because of leaked state, probably.
2023-07-14 17:27:34 -03:00
19dcb7e6a4
More tests. They pass individually and fail as a whole because of leaked state, probably.
2023-07-14 17:27:27 -03:00
910b7ce861
Bind more, more tests
2023-07-14 16:47:41 -03:00
44619dd1d4
Bind more, more tests
2023-07-14 16:23:55 -03:00
d55a1c6bad
lint
2023-07-14 13:57:12 -03:00
91a8c57966
And now test works too
2023-07-14 13:56:44 -03:00
8b8783f0f2
It builds again, test fails
2023-07-14 13:49:43 -03:00
ca9ef0d4f7
Looks like I broke compilation???
2023-07-14 13:41:20 -03:00
817eea895a
Cleanup
2023-07-14 12:08:11 -03:00
df2c0c147a
Starting to get rid of the C version of things that can be in crystal
2023-07-14 11:58:32 -03:00
3e07ef138a
Trying to make this work
2023-07-14 11:55:51 -03:00
accf123cd1
Can't believe this works
2023-07-14 11:51:03 -03:00
9bdbff68fb
license
2023-07-14 10:04:01 -03:00
a2b5c99287
start crystal side of things
2023-07-14 10:03:51 -03:00
c0f4da86fe
return errors from parse()
...
* Create a sc_result struct that can contain errors as well as the parse results.
* Use sccount to report the found shortcodes instead of checking values
* Various Makefile and test-running fixes
Reviewed-on: #1
Co-authored-by: Roberto Alsina <roberto.alsina@gmail.com>
Co-committed-by: Roberto Alsina <roberto.alsina@gmail.com>
2023-07-13 22:05:11 -03:00
b910e00a47
cleanup
2023-07-12 20:37:55 -03:00
29d1e7ab2e
more tests
2023-07-12 20:33:37 -03:00
1d4e60ec55
detect mismatched
2023-07-12 19:40:25 -03:00
cead5d075f
more tests
2023-07-12 18:03:05 -03:00
809bfd1e42
test args
2023-07-12 18:01:46 -03:00
558230ea50
more tests
2023-07-12 17:37:03 -03:00
2a3fa5b189
meh
2023-07-12 17:30:45 -03:00
5d7d1c45db
meh
2023-07-12 17:30:41 -03:00
d3e5ed9dcf
More tests
2023-07-12 17:17:48 -03:00
89beb7bbbc
minor changes
2023-07-12 17:10:55 -03:00
64053c3f37
Basic tests passing
2023-07-12 16:49:46 -03:00
5110de2042
More convenient makefile
2023-07-12 16:40:15 -03:00
5f376b0b35
First meaningul tests
2023-07-12 16:22:54 -03:00
06a65cab7a
Basic test framework in place
2023-07-12 16:09:17 -03:00
62040d023e
README.md
2023-07-11 22:25:57 -03:00
fa27e12e59
todo
2023-07-11 22:22:45 -03:00
c098c79436
minor refactor
2023-07-11 22:20:26 -03:00
8dad75b6f8
extract args into struct
2023-07-11 21:09:42 -03:00
071393f757
start extracting args
2023-07-11 20:58:19 -03:00
179ee55826
More data extraction
2023-07-11 20:49:33 -03:00
a4f98c56bc
Start extracting data properly
2023-07-11 20:18:05 -03:00
b0fde035c7
fix
2023-07-11 16:51:11 -03:00
008bd05459
tmp
2023-07-11 16:48:02 -03:00
e0b1c8b365
extract data in matched shortcodes
2023-07-11 10:22:18 -03:00
be56f4110e
Ported to bglibs
2023-07-11 09:58:58 -03:00
d59fa56473
Added matched_shortcode
2023-07-10 22:29:53 -03:00
05a6fac332
Handle error closing code
2023-07-10 22:26:19 -03:00
8c7f2b471f
gitignore
2023-07-10 22:25:54 -03:00
57cbde96ce
todo
2023-07-10 22:18:40 -03:00
8e7b2fa78a
open/close match code
2023-07-10 22:11:43 -03:00
469ff7cd8d
tweaks
2023-07-10 21:55:45 -03:00
8cde5e9590
names can be paths, have numbers
2023-07-10 20:36:50 -03:00
326d13839a
Shortcodes with {{% and {{< , more than one
2023-07-10 20:30:50 -03:00
3fa44de352
meh
2023-07-10 18:27:41 -03:00