Commit Graph

39 Commits

Author SHA1 Message Date
Florian Schroedl
6409a562d6 Generating markup 2022-05-17 15:58:21 +02:00
Florian Schroedl
643ced98ab Render items with react 2022-05-17 08:05:39 +02:00
Florian Schroedl
2e57ff5129 Cleanup 2022-05-11 14:39:05 +02:00
Florian Schroedl
31844ed68d Always take initial builder on the first parser/builder [*]
[*] Fixes bug where the builder would just copy the attributes of the
previous element.
2022-05-08 16:52:39 +02:00
Florian Schroedl
dae7e7e0a3 Basic headline 2022-05-08 15:15:12 +02:00
Florian Schroedl
722e66cf85 Create an org heading builder 2022-05-08 14:46:54 +02:00
Florian Schroedl
bec4953a97 Commentary 2022-05-05 20:17:22 +02:00
Florian Schroedl
f41534ab1a Allow passing of concatFn 2022-05-05 20:07:29 +02:00
Florian Schroedl
af7ff33ca3 Cleanup: Use props instead of index 2022-05-05 19:49:07 +02:00
Florian Schroedl
b7c0ead7d2 Add org builder initializer 2022-02-17 11:13:02 +01:00
Florian Schroedl
ff1d6845eb Remove concatination from the builder, it's now the duty of the internal method 2022-02-17 11:11:47 +01:00
Florian Schroedl
b5a678557b Extract token flattening function 2022-02-16 10:26:00 +01:00
Florian Schroedl
ff84711e64 Use func 2022-02-16 10:22:00 +01:00
Florian Schroedl
a4f842e946 Move delimiter parser to internals 2022-02-16 10:09:43 +01:00
Florian Schroedl
c19dd096c3 Document and move tryParseBuild 2022-02-16 10:05:44 +01:00
Florian Schroedl
7c16ece752 Build text parser 2022-02-15 17:42:51 +01:00
Florian Schroedl
647c5cdf00 Remove debug code 2022-02-09 15:39:48 +01:00
Florian Schroedl
a24f89f7ff Add whitespaceParser helper 2022-02-09 14:33:42 +01:00
Florian Schroedl
305bd1e503 Restructure 2022-02-09 11:49:42 +01:00
Florian Schroedl
9bb0f8e38c Rename: parser to parser internals 2022-02-09 11:41:58 +01:00
Florian Schroedl
1aa07d943a Typo 2022-02-09 11:39:39 +01:00
Florian Schroedl
488d0b173b Seperate types & utils to files 2022-02-09 11:34:13 +01:00
Florian Schroedl
4823c372b3 Add option to add seperator between tokens 2022-02-08 17:15:03 +01:00
Florian Schroedl
acbb5387cd Fix first character always getting parser applied before stop 2022-02-08 16:57:57 +01:00
Florian Schroedl
194ebea0b6 Add custom error setter 2022-02-08 16:29:31 +01:00
Florian Schroedl
9d85ba8ae4 Add index for choice 2022-02-08 16:29:20 +01:00
Florian Schroedl
afcb55b21f Cap error on error line 2022-02-08 16:28:52 +01:00
Florian Schroedl
21a6234149 Extract properties block parser to file 2022-02-08 09:34:53 +01:00
Florian Schroedl
62a56662f9 Implement Multi type tokens 2022-02-07 17:09:53 +01:00
Florian Schroedl
b5744dc40a Fix test 2022-02-07 16:04:44 +01:00
Florian Schroedl
64548cdec8 Implement newline parser 2022-02-07 11:56:51 +01:00
Florian Schroedl
6ca3f4a9ba Add index to error 2022-02-07 11:56:31 +01:00
Florian Schroedl
3dac05efdd Fix endOfStream impementation 2022-02-07 11:56:14 +01:00
Florian Schroedl
d98cf8adf1 Add EndOFString parsing error 2022-02-07 11:45:43 +01:00
Florian Schroedl
288380cab7 Add testing setup 2022-02-07 11:40:36 +01:00
Florian Schroedl
b46b81de42 Add andParser 2022-02-07 10:03:06 +01:00
Florian Schroedl
811bf23fe7 Add optional parser method 2022-02-07 09:25:02 +01:00
Florian Schroedl
905fd06348 Add parser result initialiser 2022-02-07 09:24:46 +01:00
Florian Schroedl
20712cef95 Structure 2022-02-07 09:08:44 +01:00