2
0
mirror of https://github.com/tenrok/BBob.git synced 2026-05-15 11:59:37 +03:00

10 Commits

Author SHA1 Message Date
Nikolay Kostyurin 772d422d77 feat(parser): rewrite lexer to make it faster (#50)
* feat(parser): first iteration of new lexer

* feat(parser): convert token string props to number props

* refactor(parser): optimize char grabber

* refactor(parser): working on new lexer

* refactor(parser): convert token string props to number props

* refactor(parser): rebuild lexer, add tag attrs parsing

* refactor(parser): rework word parsing and tag parsing

* refactor(parser): rework to pass tests

* refactor(parser): rework tag parsing

* refactor(parser): rework escape tags parsing

* refactor(parser): rework tests

* refactor(parser): all test pass

* refactor(parser): make lexer faster by move mode switching in loop

* refactor(parser): remove all state map objects

* refactor(parser): order of parsing states

* refactor(parser): state switching without return

* refactor(parser): rename buffers to chars

* refactor(lexer): reduce function calls

* feat(lexer): add new parser tests and code to pass it

* fix(utils): remove unused variable in char grabber

* feat(lexer): add test for new lexer bug

* chore(*): add lexer and lexer2 to benchmark

* chore(lexer): add some debug info for char grabber

* feat(parser): add new test for single attributes without values

* fix(lexer): paired tags tests

* refactor(lexer): comment breaking changes tests for future releases

* feat(core): improve tests

* refactor(parser): add more tests, reduce char grabber size

* refactor(parser): reduce utils size

* refactor(parser): remove unused code from tag parsing code

* refactor(parser): remove unused code from word to tag transforming code

* chore(benchmark): fix benchmark imports
2020-12-09 01:03:48 +02:00
Nikolay Kostyurin 22237c4500 chore(benchmark): add ya-bbcode as benchmark target in benchmark suite (#62) 2020-04-05 17:50:49 +02:00
Nikolay Kostyurin dd0056f2b9 chore(benchmark): update benchmark resulting info 2019-03-29 10:35:11 +02:00
Nikolay Kostyurin 8b0ceae591 v2.3.1 2019-03-04 02:52:37 +02:00
Nikolay Kostyurin 95d0479c11 style: remove redundant spaces 2018-10-07 22:22:50 +02:00
Nikolay Kostyurin ebba9bcfc9 chore(*): add benchmark 2018-07-23 23:44:20 +02:00
Nikolay Kostyurin 4b950f96dc Publish
- @bbob/cli@1.0.6
 - @bbob/core@1.0.6
 - @bbob/html@1.0.7
 - @bbob/parser@1.1.0
 - @bbob/preset-html5@1.0.6
 - @bbob/react@1.0.7
2018-07-14 01:54:41 +02:00
Nikolay Kostyurin df87e56143 Publish
- @bbob/cli@1.0.5
 - @bbob/core@1.0.5
 - @bbob/html@1.0.6
 - @bbob/parser@1.0.10
 - @bbob/preset-html5@1.0.5
 - @bbob/react@1.0.6
2018-07-11 23:38:32 +02:00
Nikolay Kostyurin 1a0c91fb74 benchmark files code style 2018-07-06 00:46:37 +02:00
Nikolay Kostyurin 792e949b6e add eslint, travis config, test tasks 2018-06-11 22:31:02 +02:00