Commit Graph

291 Commits

Author SHA1 Message Date
vicky 05b064a7aa rewrote linebreaks in line_to_replace 2022-03-16 16:09:14 +01:00
vicky 0155530708 nomenclature is good 2022-03-16 16:03:30 +01:00
vicky 25dccbb2d0 defined enhanced_text (very tentative) 2022-03-16 15:52:35 +01:00
vicky 22a5f9005d added Optional Token 2022-03-16 15:50:28 +01:00
vicky 921ec0b1e5 redefined enhanced_text (tentative) 2022-03-16 15:49:18 +01:00
vicky dde18df5cf added one_display 2022-03-16 15:41:37 +01:00
vicky 63f5989ece fixed one_header 2022-03-16 15:39:27 +01:00
vicky 90b2d29409 fixed one_ulist 2022-03-16 15:26:57 +01:00
vicky 043f7c3043 fixed one_olist 2022-03-16 15:22:04 +01:00
vicky b1129d60d3 fixed il_link 2022-03-16 15:12:24 +01:00
vicky 9972c91431 Changed ~~ to << and >> 2022-03-16 15:09:56 +01:00
vicky d666719ecc pulled 2022-03-16 15:08:09 +01:00
vicky 5902f86332 changed http_characters to pp.commons.url and structural_elements to pp.CaselessLiteral and ^ to | 2022-03-16 14:57:42 +01:00
Dandaedre a981df2487 Reached 100% coverage and did updated the markup to match the new
parsing direction
2022-03-16 14:54:39 +01:00
Dandaedre 072e03a786 Updated the TODOs (sic) 2022-03-15 15:48:22 +01:00
Dandaedre 2711c51eb7 Updated the TODOs 2022-03-15 15:27:56 +01:00
Dandaedre 6e122d0c71 Merged with the latest syntax from Vky 2022-03-15 14:44:41 +01:00
Dandaedre 15c0e9bed1 Added a token class and muted some PEP annoyance 2022-03-15 14:16:22 +01:00
Dandaedre bd158f2a8f PEP annoyance 2022-03-15 14:15:33 +01:00
vicky 4099f615e4 finished adding new elements, without names for now 2022-03-15 13:01:35 +01:00
vicky 74b953df78 resolved merge 2022-03-15 11:52:00 +01:00
vicky 7079c27311 adjusted structural elements 2022-03-15 11:48:42 +01:00
Dandaedre ee2985d077 A little more doc on tests 2022-03-15 11:34:22 +01:00
Dandaedre c3adc16edc Draft for tests syntax 2022-03-14 18:25:05 +01:00
Dandaedre 4cc90cd270 PEP and better __eq__ 2022-03-14 15:44:13 +01:00
Dandaedre 3198c53736 Added an UninplementedToken for testing purposes 2022-03-14 15:16:30 +01:00
Maximilien Rigaut 7323f5f6a8 Added some TODO 2022-03-14 13:53:17 +01:00
vicky 1d9be95016 resolved merge 2022-03-14 13:32:35 +01:00
vicky 9a0b90f9f6 added syntax for lists, links, header and divs 2022-03-14 13:27:45 +01:00
Maximilien Rigaut d59c2ccd5c Added a couple of debug functions 2022-03-10 18:36:08 +01:00
vicky 11e4df26ac created function for testing and readability 2022-03-10 17:17:46 +01:00
vicky 22fdbe6926 more syntax 2022-03-09 18:03:58 +01:00
Maximilien Rigaut f62b9e5594 PEP & Fixed tests 2022-03-06 22:15:42 +01:00
vicky b7f8082397 finished preparsing syntax 2022-03-06 17:18:26 +01:00
vicky 51b1b63ea7 removed outdated regexp and implemented parse_shortcuts_and_images 2022-03-06 17:17:55 +01:00
vicky 0a1749399e inspect change 2022-03-06 15:49:59 +01:00
Maximilien Rigaut 72a0950c97 Covered the syntéax function, the matching is to check tho 2022-03-04 16:20:44 +01:00
Maximilien Rigaut 3d3c8364e7 Fixed test units for preparser 2022-03-04 14:28:16 +01:00
vicky 15d67cfa85 small code refactor and started implementing Tokens and semantic parsing 2022-03-03 22:52:19 +01:00
vicky 5a5fd30923 added error manager import 2022-03-03 22:51:39 +01:00
dandaedre 578a01b1c7 Added a message function 2022-02-22 23:43:09 +01:00
dandaedre 7be326b540 Got the (mock) cover to 93% util actual implementation is done, this will be all we can get. 2022-02-22 17:41:33 +01:00
dandaedre 06e94206f7 Some test got broken, some other pointed to a neat cursor error 2022-02-22 16:18:13 +01:00
dandaedre 53d19ae364 Added comments and mock functions for the actions left to do 2022-02-22 16:02:51 +01:00
vky d67d169e15 first draft of preparsing 2022-02-21 19:59:56 +01:00
dandaedre 5d9cb6d093 Added all preparser tests 2022-02-20 21:39:55 +01:00
dandaedre bc41cb8541 Finished a better implementation of the config 2022-02-20 21:24:45 +01:00
dandaedre e0a5c88175 Finished a better implementation of the config 2022-02-20 19:14:34 +01:00
dandaedre 4129507661 Mostly PEP, some formating 2022-02-20 19:14:07 +01:00
dandaedre a2575c20b8 Mostly PEP 2022-02-20 17:59:43 +01:00
dandaedre 94f4185e32 Nocover for the sandbox part 2022-02-20 17:59:13 +01:00
vky a7ca44cafa more work on parsing alias and images 2022-02-17 19:39:06 +01:00
vky 841a1691c6 added syntax file 2022-02-16 18:28:25 +01:00
vky 743a8473e6 deleted a line 2022-02-16 18:27:11 +01:00
vicky 9311b8b4cc created more regexps and started parsing for images and shortcuts 2022-02-13 19:21:23 +01:00
vicky 93c38775ff resolved merge 2022-02-13 17:58:57 +01:00
vicky 1c7a8dc2b7 added empty functions for images and shorotcuts 2022-02-13 17:57:06 +01:00
Maximilien Rigaut 12008831aa Added the lamest easiest and most straightforwart solution to our problem. Also finished tests. 2022-02-11 00:47:42 +01:00
Maximilien Rigaut 336928524d A couple parameters on the Tree 2022-02-10 20:11:23 +01:00
Maximilien Rigaut 4d8241b86f Fixed a typo on the preparser, adjusted the tests and added a minimal tree_view 2022-02-10 19:49:03 +01:00
vicky 19e782d897 Finished exporting process, mysterious line disappearances are under investigation 2022-02-10 19:21:32 +01:00
Maximilien Rigaut dd167ad2ac A huge amount of typos and addentums
Added an equals operation and a tree representation (stump)
2022-02-10 07:16:22 +01:00
Maximilien Rigaut b056db9c8d Made everything absolute on the pathresolver.py, didn't help 2022-02-10 05:24:32 +01:00
Maximilien Rigaut 6c32b9720c Forget the / on the regex 2022-02-10 02:53:32 +01:00
Maximilien Rigaut 1c9f94dcaa Nocover on the __main__ test call and some cleaning of read/write 2022-02-10 02:17:50 +01:00
Maximilien Rigaut f8b16af96c All tests are botched now, full rework incomming 2022-02-09 23:28:09 +01:00
Maximilien Rigaut 6ee449b6ae Added a couple of hints 2022-02-09 20:59:48 +01:00
vicky 335c596e61 progressed parsing method 2022-02-09 20:18:04 +01:00
vicky e7b3672dd9 Added detection of imports 2022-02-07 20:06:19 +01:00
Maximilien Rigaut 582867f8de Cleaning all flake8 warnings 2022-02-06 05:47:23 +01:00
Maximilien Rigaut 66b8965b7e Bringing coverage to 100%, added a couple of future tests 2022-02-06 00:42:07 +01:00
Maximilien Rigaut ceeb220d93 Couple comments and todos 2022-02-05 23:38:49 +01:00
Maximilien Rigaut d334044f6e Added a couple of parametrized test, will now apply only the basedir of the path given 2022-02-05 23:03:47 +01:00
vicky 2b057796ba Added preparsing logic and recursion checking 2022-02-05 20:17:06 +01:00
Maximilien Rigaut bc28c78a48 Added minimal doc to most functions & methods 2022-02-04 05:07:08 +01:00
Maximilien Rigaut 833e66d50c Added a couple of comments and a star import 2022-02-04 04:22:49 +01:00
Maximilien Rigaut 440e1fd48a Adopted PEP standards (or tried very hard) 2022-02-04 02:17:49 +01:00
vicky c4ebf465bf Laid out skeleton for the pre parser 2022-02-03 22:24:37 +01:00
vicky c3eeef1aff Rendered files pyCharm compliant 2022-02-03 21:18:34 +01:00
Maximilien Rigaut 4885ff2467 Some lame underscore error 2022-02-02 21:28:39 +01:00
vky 45914e5c79 reviewed, removed test functions 2022-02-02 21:21:13 +01:00
Maximilien Rigaut 7910cabeb9 Added a the log exception and solved the init pb 2022-02-02 20:10:24 +01:00
Maximilien Rigaut 89b5817d26 Changed couple values in the config 2022-02-02 05:33:52 +01:00
Maximilien Rigaut 92f5f387a6 Added a config 2022-02-02 04:29:27 +01:00
Maximilien Rigaut 98f034dc92 Added more env variables 2022-02-02 04:28:57 +01:00
vky 3cd6c5ed12 created logging initializer 2022-01-30 00:00:56 +01:00
vky 72dee6dac7 changed errortype for consistency with py default behavior 2022-01-29 23:32:39 +01:00
vky 728e36118a added getters and setters 2022-01-28 17:58:25 +01:00
vky 647e7f5f64 started environment 2022-01-27 20:59:00 +01:00
vky f9ddca42e9 created a module for absolute path conversion 2022-01-26 17:29:54 +01:00
Maximilien Rigaut 4cf96638b8 Refactored the code for testing and packaging 2022-01-25 04:28:12 +01:00