1257 Commits

Author SHA1 Message Date
Laurenz
0ad0fa5a05 RTL tracking test 2021-11-20 13:26:28 +01:00
Martin Haug
c020707ebc Add tracking to font function 2021-11-20 12:36:03 +01:00
Laurenz
63c274e7f6 Make clippy happier and remove Str 2021-11-15 17:06:43 +01:00
Laurenz
8a38899c98 Tidying 2021-11-14 15:06:34 +01:00
Laurenz
14048937b8 Search for fonts in the project directory 2021-11-14 13:13:27 +01:00
Martin Haug
3162c6a83a Comments and neighbors 2021-11-10 20:41:10 +01:00
Martin Haug
91f2f97572 Multiple replacements, escapes 2021-11-09 13:34:23 +01:00
Martin Haug
7a631d8b09 Simplify node mode management 2021-11-09 13:07:55 +01:00
Laurenz
c6f8ad35f4
Merge pull request #46 from typst/parser-ng
Next Generation Parser
2021-11-08 13:08:15 +01:00
Laurenz
38c5c36241 Final touches 2021-11-08 13:06:11 +01:00
Martin Haug
9141cba6a9 Deal with the effects of keywords 2021-11-08 12:01:35 +01:00
Laurenz
75fffc1f9b Fine-grained capturing 2021-11-08 11:52:09 +01:00
Laurenz
95866d5fc9 Tidy up AST 2021-11-08 01:37:49 +01:00
Martin Haug
0663758fbb Tests
- length updates
- dealing with keywords and comments
2021-11-07 19:43:01 +01:00
Martin Haug
eba7fc34ef Incremental-safety based approach 2021-11-06 16:07:21 +01:00
Laurenz
8117ca9950 Deduplicate trivia search 2021-11-06 15:49:39 +01:00
Laurenz
41bdafb578 Faster parser 2021-11-06 15:49:39 +01:00
Laurenz
515fe89c5e Style changes
Co-Authored-By: Martin <mhaug@live.de>
2021-11-05 13:46:42 +01:00
Martin Haug
cf2e527a02 Code Review: No Patrick, question marks are not an instrument 2021-11-05 13:46:41 +01:00
Martin Haug
5c952d56d0 New error handling 2021-11-05 13:46:41 +01:00
Laurenz
f0c9635db5 Notes 2021-11-05 13:46:41 +01:00
Laurenz
65fac0e57c Refactoring
Co-Authored-By: Martin <mhaug@live.de>
2021-11-05 13:46:41 +01:00
Martin Haug
42afb27cef Add documentation 2021-11-05 13:44:50 +01:00
Martin Haug
49fb3cd4e2 Code Review: Life is Like a Box of Iterators 2021-11-05 13:44:50 +01:00
Martin Haug
7d34a548cc Reorganize syntax module 2021-11-05 13:44:50 +01:00
Martin Haug
2e7d359e59 Unicode escape error moved to tokenizer 2021-11-05 13:44:49 +01:00
Martin Haug
c569e14c07 Improve error handling 2021-11-05 13:44:49 +01:00
Martin Haug
1c0ac793d2 Slim NodeKind memory footprint 2021-11-05 13:44:49 +01:00
Martin Haug
84d35efee3 Less owning, more iterating 2021-11-05 13:44:49 +01:00
Martin Haug
4875633acf Change parser 2021-11-05 13:44:49 +01:00
Martin Haug
7016ab0d12 Make stuff more elegant 2021-11-03 11:03:00 +01:00
Martin Haug
1e4cab393e Introduce incremental parsing 2021-11-02 12:06:22 +01:00
Laurenz
ea6ee3f667 Fix page breaks in lists and enums 2021-11-02 10:42:32 +01:00
Laurenz
c4a87e5e7c Number style -> type 2021-11-02 10:39:45 +01:00
Laurenz
072e7c710c Reduce namespace pollution 2021-11-02 10:39:45 +01:00
Martin Haug
8ccb7d6f15 Smallcaps, sub- and superscript, ligature ctrls... 2021-11-02 10:39:45 +01:00
Laurenz
5b344b663a Reorganize modules
Instead of separating functionality into layout and library, everything lives in the library now. This way, related things live side by side and there are no duplicate file names in the two directories.
2021-10-31 15:52:35 +01:00
Laurenz
feff013abb More useful Spec helpers 2021-10-31 14:40:15 +01:00
Laurenz
564cb7e989 Fix panic in pad node 2021-10-31 13:51:28 +01:00
Laurenz
4645d1a517 Switch to borrowed strings in split_lines 2021-10-29 16:36:09 +02:00
Laurenz
1af194f383 Dedent code blocks 2021-10-29 16:26:47 +02:00
Laurenz
de6786eb28 Allow multiple template bodies 2021-10-29 16:04:55 +02:00
Laurenz
d1ecb7e52e Add move function 2021-10-28 16:51:57 +02:00
Laurenz
5c534fb428 Simplify node construction 2021-10-26 17:14:11 +02:00
Laurenz
fb0cd3df6e Fr in stack and par 2021-10-26 14:56:10 +02:00
Laurenz
1ca4ff69e2 Trim mailto: and tel: from links 2021-10-26 14:51:57 +02:00
Laurenz
5e34c81a01 Highlight set, show and wrap 2021-10-25 13:52:13 +02:00
Laurenz
3968181622 Replace .. syntax with range function 2021-10-25 13:38:32 +02:00
Laurenz
adf52a873f Drop iso- prefix for A papers 2021-10-23 22:52:40 +02:00
Laurenz
b42ecbd6a6 Simplify decorations 2021-10-23 20:24:35 +02:00