Commit Graph

76 Commits

Author SHA1 Message Date
Guilhem Fauré
f59782ad77 add test text 2023-04-27 14:45:00 +02:00
Guilhem Fauré
42276b5b5c use lazy repetion for text, simplification of grammar 2023-04-27 11:39:59 +02:00
Guilhem Fauré
d9341177ba add long separator 2023-04-26 15:09:28 +02:00
Guilhem Fauré
06dc438038 higher priority for separators over pure text 2023-04-26 15:04:58 +02:00
Guilhem Fauré
3fe19a8ec6 html aliases for links, but paragraphs are priorized 2023-04-26 15:02:33 +02:00
Guilhem Fauré
9f62b3125b add links & test malformed horizontal line 2023-04-26 15:01:21 +02:00
Guilhem Fauré
0e5442e98e html like aliases 2023-04-26 14:36:56 +02:00
Guilhem Fauré
fc575696ba prettier test output 2023-04-26 14:29:41 +02:00
Guilhem Fauré
c7438403e0 working grammar 2023-04-26 14:29:14 +02:00
Guilhem Fauré
f62c634880 filter start if only one child, newline problem 2023-04-26 11:55:00 +02:00
Guilhem Fauré
5f9b1054ed don’t filter N, test with first test file for now 2023-04-26 11:48:01 +02:00
Guilhem Fauré
68ccfcbf5d test function 2023-04-26 11:41:18 +02:00
Guilhem Fauré
d7247e805a simplified grammar, start in .lark file 2023-04-26 11:34:17 +02:00
Guilhem Fauré
236e9e39d4 simplified grammar, it parses ! 2023-04-26 11:13:47 +02:00
Guilhem Fauré
f4195936eb moved test files to dedicated folder, corrected test file to debug grammar 2023-04-26 10:01:57 +02:00
Guilhem Fauré
c12bf46eb2 trailing newline to conform wiht syntax 2023-04-25 16:28:17 +02:00
Guilhem Fauré
370e0445be TAG rule for special markup 2023-04-25 16:28:01 +02:00
Guilhem Fauré
6c46c2406e clean testSpip 2023-04-25 16:08:51 +02:00
Guilhem Fauré
48af637dbd init a spip example file 2023-04-25 16:07:10 +02:00
Guilhem Fauré
ab323047ff fix lark syntax, it "compiles" 2023-04-25 16:00:28 +02:00
Guilhem Fauré
c399439e32 lark syntax in separate file 2023-04-25 15:50:08 +02:00
Guilhem Fauré
bb4c8ccb23 separate paragraph & text, more precise pure_text but more rigid than reference implementation 2023-04-25 14:46:41 +02:00
Guilhem Fauré
2132fdfd68 add terminals spip syntax 2023-04-25 14:31:25 +02:00
Guilhem Fauré
dbf9de70c7 started defining syntax with Lark in EBNF 2023-04-25 12:21:44 +02:00
Guilhem Fauré
6bec415540 clean imports 2023-04-25 09:56:03 +02:00
Guilhem Fauré
a0d66fb2e5 add lark to build a parser 2023-04-25 09:52:45 +02:00
Guilhem Fauré
723feddac5 database params in CONFIG + clean 2023-04-25 09:33:02 +02:00
Guilhem Fauré
aa64c9a6d7 start syntax conversion 2023-04-24 17:08:23 +02:00
Guilhem Fauré
0ab27b528a start syntax conversion 2023-04-24 16:55:01 +02:00
Guilhem Fauré
79669825eb file with encoding problems 2023-04-24 16:49:30 +02:00
Guilhem Fauré
2dbf9c4e58 draft metadata 2023-04-24 16:26:07 +02:00
Guilhem Fauré
c19c057755 more term info 2023-04-24 16:22:27 +02:00
Guilhem Fauré
5c78a896ec increased default export limit to 1000 articles & better term output 2023-04-24 16:15:11 +02:00
Guilhem Fauré
69d713dca5 keep only 1 lang in multi-lang titles 2023-04-24 16:14:20 +02:00
Guilhem Fauré
a7ca45f731 basic metadata compatible with hugo 2023-04-24 14:59:42 +02:00
Guilhem Fauré
cc07869989 switch to newer slugifier 2023-04-24 14:36:20 +02:00
Guilhem Fauré
b517e726cb ascii only in file slugs, WARNING undocumented option 2023-04-24 14:14:32 +02:00
Guilhem Fauré
d29aa331d6 unicode in yaml & better term output 2023-04-24 14:12:20 +02:00
Guilhem Fauré
b8e72b2f38 unicode in yaml & better term output 2023-04-24 14:11:18 +02:00
Guilhem Fauré
7d6340b7e8 sort imports 2023-04-24 11:49:24 +02:00
Guilhem Fauré
744b10538f removed tools from requirements 2023-04-24 11:39:41 +02:00
Guilhem Fauré
a178477195 conditional sections 2023-04-21 17:14:42 +02:00
Guilhem Fauré
a45a67b30b handle every non-cryptic metadata that doesn’t need joins 2023-04-21 17:03:20 +02:00
Guilhem Fauré
18ac8d2047 ignore anything that contains ignore 2023-04-21 16:06:16 +02:00
Guilhem Fauré
7d57ee60fb clean 2023-04-21 16:01:45 +02:00
Guilhem Fauré
3cc9b22a58 black formatting 2023-04-21 15:58:29 +02:00
Guilhem Fauré
054cca20f7 tooling 2023-04-21 15:53:39 +02:00
Guilhem Fauré
b6d5640411 use Peewee ORM to modelize DB + use external CONFIG file 2023-04-21 15:07:49 +02:00
Guilhem Fauré
c62c516541 export to bundles of articles/index.md 2023-04-21 13:46:34 +02:00
Guilhem Fauré
b6097f336e fix name 2023-04-21 12:18:57 +02:00