Guilhem Fauré
|
33f26c3ad5
|
first try more flexible grammar
|
2023-04-28 12:04:30 +02:00 |
|
Guilhem Fauré
|
e2d5dd421d
|
init new grammar with a more flexible approach based on lazy but general text .+? complemented with contextual positive lookaheads
|
2023-04-27 17:41:26 +02:00 |
|
Guilhem Fauré
|
6a6f6e6373
|
filter list type
|
2023-04-27 17:33:39 +02:00 |
|
Guilhem Fauré
|
83b69a1b83
|
add test for list
|
2023-04-27 17:33:09 +02:00 |
|
Guilhem Fauré
|
a3dd9becd0
|
escaped braces support & escaping braces in test articles, as some syntax errors are just too hard to support (like closing curly brace in middle of normal text)
|
2023-04-27 17:18:32 +02:00 |
|
Guilhem Fauré
|
9f44397286
|
support for multi pipe metadata in tags
|
2023-04-27 17:03:29 +02:00 |
|
Guilhem Fauré
|
b87ed6c0fb
|
add 2 test articles
|
2023-04-27 17:00:53 +02:00 |
|
Guilhem Fauré
|
a497a3071b
|
support for quotes
|
2023-04-27 16:58:24 +02:00 |
|
Guilhem Fauré
|
a313af6483
|
support for table metadata
|
2023-04-27 16:48:11 +02:00 |
|
Guilhem Fauré
|
c540625259
|
add a test for tables
|
2023-04-27 16:43:44 +02:00 |
|
Guilhem Fauré
|
9a5735c046
|
prevent creation of tokens for each text that seems like markup
|
2023-04-27 16:36:39 +02:00 |
|
Guilhem Fauré
|
d30e8d07ee
|
support for tags (mostly custom HTML & images)
|
2023-04-27 15:52:12 +02:00 |
|
Guilhem Fauré
|
a191e16eb3
|
second test article
|
2023-04-27 15:17:23 +02:00 |
|
Guilhem Fauré
|
cb36324e9a
|
don’t use inner text as text is now more strict anyway
|
2023-04-27 15:16:30 +02:00 |
|
Guilhem Fauré
|
87e9a2257e
|
test alternate em/strong
|
2023-04-27 15:15:54 +02:00 |
|
Guilhem Fauré
|
62558d2713
|
created precise terminals with preventive lookaheads, named every terminal
|
2023-04-27 14:49:19 +02:00 |
|
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 |
|