Commit Graph

  • d1702d6d19 higher priority for tables Guilhem Fauré 2023-04-28 16:06:28 +02:00
  • afdf034f6e tags can contain blocks Guilhem Fauré 2023-04-28 16:02:00 +02:00
  • 0dac418e0a plus grand jeu de test Guilhem Fauré 2023-04-28 15:55:58 +02:00
  • 3add23a126 works better with lower priority paragraph Guilhem Fauré 2023-04-28 15:46:48 +02:00
  • 28ab3123df switch to new grammar Guilhem Fauré 2023-04-28 15:44:50 +02:00
  • 1e59bb6833 new more flexible grammar Guilhem Fauré 2023-04-28 15:43:43 +02:00
  • 5ed12cf893 playing with priorities, use only -1 Guilhem Fauré 2023-04-28 12:50:54 +02:00
  • 38c3eadea9 single test article with all the spip features Guilhem Fauré 2023-04-28 12:47:40 +02:00
  • 693f6aa3aa simplified more flexible grammar Guilhem Fauré 2023-04-28 12:40:25 +02:00
  • 33f26c3ad5 first try more flexible grammar Guilhem Fauré 2023-04-28 12:04:30 +02:00
  • e2d5dd421d init new grammar with a more flexible approach based on lazy but general text .+? complemented with contextual positive lookaheads Guilhem Fauré 2023-04-27 17:41:26 +02:00
  • 6a6f6e6373 filter list type Guilhem Fauré 2023-04-27 17:33:39 +02:00
  • 83b69a1b83 add test for list Guilhem Fauré 2023-04-27 17:33:09 +02:00
  • 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) Guilhem Fauré 2023-04-27 17:18:32 +02:00
  • 9f44397286 support for multi pipe metadata in tags Guilhem Fauré 2023-04-27 17:03:29 +02:00
  • b87ed6c0fb add 2 test articles Guilhem Fauré 2023-04-27 17:00:40 +02:00
  • a497a3071b support for quotes Guilhem Fauré 2023-04-27 16:54:07 +02:00
  • a313af6483 support for table metadata Guilhem Fauré 2023-04-27 16:48:11 +02:00
  • c540625259 add a test for tables Guilhem Fauré 2023-04-27 16:43:44 +02:00
  • 9a5735c046 prevent creation of tokens for each text that seems like markup Guilhem Fauré 2023-04-27 16:25:23 +02:00
  • d30e8d07ee support for tags (mostly custom HTML & images) Guilhem Fauré 2023-04-27 15:52:12 +02:00
  • a191e16eb3 second test article Guilhem Fauré 2023-04-27 15:17:23 +02:00
  • cb36324e9a don’t use inner text as text is now more strict anyway Guilhem Fauré 2023-04-27 15:16:30 +02:00
  • 87e9a2257e test alternate em/strong Guilhem Fauré 2023-04-27 15:15:54 +02:00
  • 62558d2713 created precise terminals with preventive lookaheads, named every terminal Guilhem Fauré 2023-04-27 14:45:36 +02:00
  • f59782ad77 add test text Guilhem Fauré 2023-04-27 14:45:00 +02:00
  • 42276b5b5c use lazy repetion for text, simplification of grammar Guilhem Fauré 2023-04-27 11:39:59 +02:00
  • d9341177ba add long separator Guilhem Fauré 2023-04-26 15:09:28 +02:00
  • 06dc438038 higher priority for separators over pure text Guilhem Fauré 2023-04-26 15:04:58 +02:00
  • 3fe19a8ec6 html aliases for links, but paragraphs are priorized Guilhem Fauré 2023-04-26 15:02:33 +02:00
  • 9f62b3125b add links & test malformed horizontal line Guilhem Fauré 2023-04-26 15:01:21 +02:00
  • 0e5442e98e html like aliases Guilhem Fauré 2023-04-26 14:36:56 +02:00
  • fc575696ba prettier test output Guilhem Fauré 2023-04-26 14:29:41 +02:00
  • c7438403e0 working grammar Guilhem Fauré 2023-04-26 14:29:14 +02:00
  • f62c634880 filter start if only one child, newline problem Guilhem Fauré 2023-04-26 11:55:00 +02:00
  • 5f9b1054ed don’t filter N, test with first test file for now Guilhem Fauré 2023-04-26 11:47:05 +02:00
  • 68ccfcbf5d test function Guilhem Fauré 2023-04-26 11:41:18 +02:00
  • d7247e805a simplified grammar, start in .lark file Guilhem Fauré 2023-04-26 11:27:05 +02:00
  • 236e9e39d4 simplified grammar, it parses ! Guilhem Fauré 2023-04-26 11:13:47 +02:00
  • f4195936eb moved test files to dedicated folder, corrected test file to debug grammar Guilhem Fauré 2023-04-26 10:01:09 +02:00
  • c12bf46eb2 trailing newline to conform wiht syntax Guilhem Fauré 2023-04-25 16:28:17 +02:00
  • 370e0445be TAG rule for special markup Guilhem Fauré 2023-04-25 16:28:01 +02:00
  • 6c46c2406e clean testSpip Guilhem Fauré 2023-04-25 16:08:51 +02:00
  • 48af637dbd init a spip example file Guilhem Fauré 2023-04-25 16:07:10 +02:00
  • ab323047ff fix lark syntax, it "compiles" Guilhem Fauré 2023-04-25 16:00:28 +02:00
  • c399439e32 lark syntax in separate file Guilhem Fauré 2023-04-25 15:50:08 +02:00
  • bb4c8ccb23 separate paragraph & text, more precise pure_text but more rigid than reference implementation Guilhem Fauré 2023-04-25 14:46:41 +02:00
  • 2132fdfd68 add terminals spip syntax Guilhem Fauré 2023-04-25 14:30:01 +02:00
  • dbf9de70c7 started defining syntax with Lark in EBNF Guilhem Fauré 2023-04-25 10:18:54 +02:00
  • 6bec415540 clean imports Guilhem Fauré 2023-04-25 09:56:03 +02:00
  • a0d66fb2e5 add lark to build a parser Guilhem Fauré 2023-04-25 09:52:45 +02:00
  • 723feddac5 database params in CONFIG + clean Guilhem Fauré 2023-04-25 09:33:02 +02:00
  • aa64c9a6d7 start syntax conversion Guilhem Fauré 2023-04-24 17:08:23 +02:00
  • 0ab27b528a start syntax conversion Guilhem Fauré 2023-04-24 16:55:01 +02:00
  • 79669825eb file with encoding problems Guilhem Fauré 2023-04-24 16:49:30 +02:00
  • 2dbf9c4e58 draft metadata Guilhem Fauré 2023-04-24 16:26:07 +02:00
  • c19c057755 more term info Guilhem Fauré 2023-04-24 16:22:27 +02:00
  • 5c78a896ec increased default export limit to 1000 articles & better term output Guilhem Fauré 2023-04-24 16:15:11 +02:00
  • 69d713dca5 keep only 1 lang in multi-lang titles Guilhem Fauré 2023-04-24 16:14:20 +02:00
  • a7ca45f731 basic metadata compatible with hugo Guilhem Fauré 2023-04-24 14:59:42 +02:00
  • cc07869989 switch to newer slugifier Guilhem Fauré 2023-04-24 14:36:20 +02:00
  • b517e726cb ascii only in file slugs, WARNING undocumented option Guilhem Fauré 2023-04-24 14:14:32 +02:00
  • d29aa331d6 unicode in yaml & better term output Guilhem Fauré 2023-04-24 14:12:20 +02:00
  • b8e72b2f38 unicode in yaml & better term output Guilhem Fauré 2023-04-24 14:11:18 +02:00
  • 7d6340b7e8 sort imports Guilhem Fauré 2023-04-24 11:49:24 +02:00
  • 744b10538f removed tools from requirements Guilhem Fauré 2023-04-24 11:39:41 +02:00
  • a178477195 conditional sections Guilhem Fauré 2023-04-21 17:14:42 +02:00
  • a45a67b30b handle every non-cryptic metadata that doesn’t need joins Guilhem Fauré 2023-04-21 16:49:09 +02:00
  • 18ac8d2047 ignore anything that contains ignore Guilhem Fauré 2023-04-21 16:06:16 +02:00
  • 7d57ee60fb clean Guilhem Fauré 2023-04-21 16:01:45 +02:00
  • 3cc9b22a58 black formatting Guilhem Fauré 2023-04-21 15:58:29 +02:00
  • 054cca20f7 tooling Guilhem Fauré 2023-04-21 15:53:39 +02:00
  • b6d5640411 use Peewee ORM to modelize DB + use external CONFIG file Guilhem Fauré 2023-04-21 15:07:49 +02:00
  • c62c516541 export to bundles of articles/index.md Guilhem Fauré 2023-04-21 13:46:34 +02:00
  • b6097f336e fix name Guilhem Fauré 2023-04-21 12:18:09 +02:00
  • 3047c4aac1 init requirements.txt Guilhem Fauré 2023-04-21 11:28:54 +02:00
  • a71bb809dc reorganization Guilhem Fauré 2023-04-21 08:54:41 +00:00
  • 92de47d8cd started modularization Guilhem Fauré 2023-04-21 08:23:25 +00:00
  • c91c5396fd h1 convert Guilhem Fauré 2023-04-21 07:55:14 +00:00
  • 88b448eb3c fix articles with the same name merged & slugification & pretty print of data prior to save files Guilhem Fauré 2023-04-21 07:51:44 +00:00
  • 6c880668c7 Unnamed update Guilhem Fauré 2023-04-20 15:22:21 +00:00
  • 7e1a4cfdd7 parametric number of output articles Guilhem Fauré 2023-04-20 15:22:03 +00:00
  • dbf7a53cde clean inside python script Guilhem Fauré 2023-04-20 17:02:14 +02:00
  • 2c81d05d7d clean.sh Guilhem Fauré 2023-04-19 11:22:18 +02:00
  • 5d1d9a90ff readme Guilhem Fauré 2023-04-18 11:38:48 +02:00
  • afff6ad230 basic export script working Guilhem Fauré 2023-04-17 12:06:27 +02:00
  • 33348200af AUTO COMMIT Guilhem Fauré 2023-04-14 11:58:23 +02:00
  • 9bde8559bc AUTO COMMIT Guilhem Fauré 2023-04-14 11:58:02 +02:00
  • 9d13855277 AUTO COMMIT Guilhem Fauré 2023-04-14 11:32:10 +02:00
  • 407893a464 AUTO COMMIT Guilhem Fauré 2023-04-14 11:31:48 +02:00
  • a4fd7cc91d update readme Guilhem Fauré 2023-04-14 11:31:07 +02:00
  • b5c02d0cab notes on first database analysis Guilhem Fauré 2023-04-14 09:22:07 +00:00
  • daec9872e4 move notes into readme Guilhem Fauré 2023-04-14 08:58:35 +00:00
  • 6e14e1313e init notes Guilhem Fauré 2023-04-14 08:44:44 +00:00
  • 1a5ea320b7 mysql wrapper to query the db Guilhem Fauré 2023-04-14 08:43:07 +00:00
  • 51b7ab6c5a init scripts to initialize database from the sql dump Guilhem Fauré 2023-04-14 08:35:47 +00:00
  • fbd669f14a init python export script Guilhem Fauré 2023-04-14 10:27:02 +02:00
  • 281f1756e8 ignore output markdown Guilhem Fauré 2023-04-14 10:26:53 +02:00
  • bd565aa99c ignore big database files Guilhem Fauré 2023-04-14 09:32:30 +02:00
  • 8c92d7744d fix readme Guilhem Fauré 2023-04-14 09:30:57 +02:00