Laurenz
22ba6825db
Key/Value data from CLI ( #2894 )
2023-12-18 12:18:41 +01:00
Laurenz
85b1d1d4dd
Rework Vt
into Engine
...
- Moves as much data out of the `Vm`
- Removes duplication with call_vm and call_vt flavours
- Uses tracked chain instead of fixed int for determining max nesting depth
- This means that nesting checks now generalizes to layout and realization, to detect crashing show rules and overly nested layouts
2023-11-26 19:03:21 +01:00
Laurenz
7eebafa783
Merge typst
and typst-library
2023-11-24 12:30:02 +01:00
Laurenz
35d6a891bc
Rename typeset function to layout
2023-11-19 18:17:06 +01:00
Laurenz
ec04c3de2f
Extract typst-render
crate
2023-11-08 13:16:13 +01:00
Laurenz
0e5c48ad0d
Add a bit more docs to compile
2023-08-29 18:01:18 +02:00
Laurenz
b8b0137504
Bytes type
...
- Moves `Bytes` from `util` to `eval` module
- Accepts bytes in `str` function for bytes -> str conversion
- Adds `bytes` function for str | array -> bytes conversion
- Adds `array` function for bytes -> array conversion
- Adds `len`, `at`, and `slice` methods for bytes
- Adds `encoding` parameter to `read` function
2023-08-04 15:46:46 +02:00
lolstork
b37c1e2731
Add infrastructure for compiler warnings ( #1731 )
2023-07-19 12:52:47 +02:00
Laurenz
f5953887c9
Extract syntax module into typst-syntax crate
2023-07-18 21:04:46 +02:00
Laurenz
7b92bd7c34
Basic package management
2023-06-27 18:40:17 +02:00
Laurenz Stampfl
752817ae74
Add support for date & time handling ( #435 )
2023-05-23 10:41:20 +02:00
Laurenz
d10b53df0b
Clippy
2023-04-18 19:16:13 +02:00
Laurenz
af7fe4d760
Hover and autocomplete in show rules
2023-03-17 18:18:47 +01:00
Martin Haug
2720a44b96
Merge branch 'main' into ng
2023-03-12 09:58:47 +01:00
Laurenz
2c13ff9bfe
Make render background color configurable
2023-03-09 13:07:36 +01:00
Laurenz
6ab7760822
Split up model
module
2023-03-01 16:33:28 +01:00
Laurenz
7597b99789
New default style
2023-02-25 20:04:30 +01:00
Laurenz
ec05ed7e06
Move assets
2023-01-31 15:05:42 +01:00
Laurenz
43ef60c09c
Tracing-based expression tooltips
2023-01-27 12:05:12 +01:00
Laurenz
40561e57fb
Remove most fields from SyntaxKind
enum
2023-01-15 12:40:27 +01:00
Laurenz
ab03f32240
Reorganize syntax module
2023-01-14 12:34:17 +01:00
Laurenz
29b31c4a5a
New import syntax
2023-01-03 12:32:17 +01:00
Laurenz
4c73456fc1
Move highlighting into new IDE module
2022-12-14 10:02:19 +01:00
Laurenz
0efe669278
Reorganize library and tests
2022-11-29 14:18:13 +01:00
Laurenz
6bafc63910
Document metadata
2022-11-26 23:52:01 +01:00
Laurenz
96f72eee6c
Separate typesetting and compilation
2022-11-24 17:51:07 +01:00
Laurenz
5ae81971f2
Introduce Library
2022-11-23 16:07:54 +01:00
Laurenz
b2a3d3f235
More general evaluation interface
2022-11-23 12:00:06 +01:00
Laurenz
321121c6c3
Move font folder
2022-11-20 18:14:13 +01:00
Laurenz
eb951c008b
Style changes
2022-11-04 11:38:09 +01:00
Laurenz
33928a00dc
Tidy up library
2022-11-03 16:50:26 +01:00
Laurenz
46921a8c28
Separate test crate
...
This removes the not-really-cyclic dependency that confuses rust-analyzer. See also: https://github.com/rust-lang/rust-analyzer/issues/2414
2022-11-03 16:13:35 +01:00