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
29d1e7ab2e
more tests
2023-07-12 20:33:37 -03:00
1d4e60ec55
detect mismatched
2023-07-12 19:40:25 -03:00
89beb7bbbc
minor changes
2023-07-12 17:10:55 -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
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
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
380a25eccf
Makefile
2023-07-10 18:19:34 -03:00
1f58f0b25e
Getting there
2023-07-10 18:17:17 -03:00
d3488349b4
Getting there
2023-07-10 18:11:54 -03:00
94516408d3
Ragel state machine
2023-07-10 16:39:01 -03:00