Dzuchun
202a02bd87
Added example for a basic syntax
...
+ repaired the tests after previous changes
2024-03-26 21:47:03 +02:00
Dzuchun
b0104e4a0f
Reworked token borrowing a bit
...
It's actually quite easy, idk why I struggled with it so much :/
2024-03-26 21:40:33 +02:00
Dzuchun
72b60e5873
Added closing paren escaping to href
2024-03-26 20:11:47 +02:00
Dzuchun
f1da0bca6a
Fixed a little issue related to headers
2024-03-26 20:10:52 +02:00
Dzuchun
ae24906a1f
Added support for latin lists
2024-03-26 19:35:19 +02:00
Dzuchun
a95b406d76
Added support for displayed ayano block description
...
- looks kinda ugly now, might want to make them prettier
2024-03-26 11:22:00 +02:00
Dzuchun
60e2df7370
Added title page info support to public interface and tests
2024-03-26 08:51:40 +02:00
Dzuchun
68a5dff1a9
nightly (unfinished)
2024-03-26 01:17:27 +02:00
Dzuchun
d15b2e0fd7
Added preamble and postamble support
2024-03-26 00:54:34 +02:00
Dzuchun
a49041f317
Fixed issue with some of the inner tokens sticking together, when they definitely shouldn't do that
2024-03-25 23:28:04 +02:00
Dzuchun
5ebd970229
sync commit
...
(sync along machines; nothing to see here)
2024-03-25 20:29:36 +02:00
Dzuchun
129873a9e5
Added double-quotes escaping in captions
2024-03-25 16:32:36 +02:00
Dzuchun
511f321476
Finished storage concept. Next step - integration into the actual codebase
2024-03-25 14:00:07 +02:00
Dzuchun
3cff327afc
Refactored multiple traits into one
...
- renamed a lot of stuff for it all to be more neutral
2024-03-25 13:43:48 +02:00
Dzuchun
08594430a4
Added sore fuzz-tests for last two functions - namely, provider moving and conversion to owning provider
2024-03-25 10:17:23 +02:00
Dzuchun
74e8c82e0d
nightly (unfinished)
2024-03-25 00:12:40 +02:00
Dzuchun
12c0f04ed5
updated provider system, but ownership transfer is yet to be made
2024-03-24 23:08:33 +02:00
Dzuchun
3d28bd1eba
daily commit
...
- exact changes would be explained later, I'm in a hurry rn
2024-03-24 11:32:25 +02:00
Dzuchun
d7e2317d2d
Reworked shared data system
...
Now uses no `unsafe`, as I fear it so much :/
2024-03-23 11:12:52 +02:00
Dzuchun
2bd1dd770a
nightly; completely broken state
2024-03-23 00:26:50 +02:00
Dzuchun
4ecf8cd1cb
Started developing provider concept
...
- involves unsafe now :/
2024-03-22 17:01:08 +02:00
Dzuchun
50c7795be6
Renamed some of the tokens to a better-suiting names
2024-03-19 10:29:50 +02:00
Dzuchun
2f715b5a0e
Removed Formatting token
2024-03-19 10:23:08 +02:00
Dzuchun
520d85e85d
Reworked text tokens
...
- Added a field to indicate that paragraph is preceded by newline, for better document structure preservation
- Removed font-thing. Font is now assigned statically, at generation step
- Moved formatting to text paragraph
2024-03-19 00:17:05 +02:00
Dzuchun
4023992517
Converted all Token variants into normal structs for consistency
2024-03-18 21:23:45 +02:00
Dzuchun
6efadb4029
Added width argument to table syntax. Default value is 0.9
2024-03-18 13:16:48 +02:00
Dzuchun
4bcda1c42a
dev update:
...
- Added caption support for Ayano-generated stuff
- Added tests for Ayano-generated stuff
2024-03-17 23:04:56 +02:00
Dzuchun
78468f1ba5
Added terminating(..., space0) to all all_consuming
2024-03-17 20:02:08 +02:00
Dzuchun
f478392e7b
Moved optional permutation to util module
...
- I'll definitely need to review all of the stuff in there. I'm almost sure there are more efficient implementations for most of it.
2024-03-17 19:57:26 +02:00
Dzuchun
d0dfb3f935
added tests for PathEngine
...
- well, that was painful (and I didn't like that)
2024-03-17 18:12:55 +02:00
Dzuchun
21c74c3e68
Reworked PathEngine
2024-03-17 16:14:46 +02:00
Dzuchun
42d18d6089
Merge branch 'indev' of https://github.com/Dzuchun/kyomato into indev
2024-03-17 12:20:42 +02:00
Dzuchun
21e24db6de
First kinda-working version
...
- added rest of the parsing tests
- reworked generation a bit
- added "integration tests" to uphold expected parsing and generation
2024-03-17 12:17:29 +02:00
Artem Diachenko
bb12c14a90
Added Rust testing
2024-03-14 23:45:34 +02:00
Dzuchun
877717a74b
nightly:
...
- implemented tests for `figure` and (partially) for `list`
2024-03-14 23:40:43 +02:00
Dzuchun
59c03c48a3
nightly:
...
- solved recursion problem
- added tests for tokens up to `table`
2024-03-14 21:58:33 +02:00
Dzuchun
78c97c7d40
wrote some more tests
...
Ran into a problem of parsers invoking each other in recursion. I guess a little redesign would be necessary.
2024-03-13 09:10:44 +02:00
Dzuchun
610ff126c6
repaired the tests
...
(certain function turned out not implemented)
2024-03-12 23:11:32 +02:00
Dzuchun
ebce9677d9
nightly:
...
- It turns out, `nom`'s `permutation` won't work for optional arguments. Implemented my version, that actually does that.
- Added a couple of tests for parsers
2024-03-12 22:51:39 +02:00
Dzuchun
fe511ee5fb
pseudo-nightly:
...
- began writing tests for parsers
2024-03-11 07:30:25 +02:00
Dzuchun
e96403b748
finished polishing token parsers
2024-03-10 14:44:46 +02:00
Dzuchun
e549cfe0b2
nightly:
...
- keep refining parsers. might start actually writing tests tomorrow.
2024-03-10 01:12:31 +02:00
Dzuchun
e3e3996295
removed no-longer-used impl
2024-03-10 01:11:52 +02:00
Dzuchun
eadddae9ab
nightly
...
- I think I understand errors now
- Rewrote a couple of parsers in terms of pure parsers
2024-03-09 02:38:55 +02:00
Dzuchun
731e8084d1
nightly
...
implemented rest of the lexing parsers, although they still need:
- more refining (I should establish more rigid specifications)
- proper verbose error type. now I'm using.. I'm not sure what, I still need to learn more about nom's errors
- test (obviously)
minor changes in main modules, as while implementing lexing I start to understand what information exactly are we able to extract from input of each token
2024-03-08 01:41:35 +02:00
Dzuchun
926c0e533d
mightly
2024-03-07 00:07:34 +02:00
Dzuchun
9b6a4257c2
ignoring vscode files
2024-03-06 23:32:31 +02:00
Dzuchun
a0efd197b3
Long-due initial commit. Current state is "broken"
2024-03-06 23:15:47 +02:00