1
1
mirror of https://github.com/tweag/nickel.git synced 2024-09-19 23:47:54 +03:00
Commit Graph

59 Commits

Author SHA1 Message Date
Yann Hamdaoui
e90aada3c3 Add nickel-lang-utilities to the workspace 2022-03-09 20:12:28 +01:00
Yann Hamdaoui
0b1ed40e40 Rename crates nickel* to nickel-lang* 2022-03-06 22:27:57 +01:00
Yann Hamdaoui
879856c51b renaming list -> array 2022-03-02 16:38:46 +01:00
Yann Hamdaoui
98bc241ea6 Fix interpolation in multiline strings
Fix issue #596. The main problem was a `token` annotation instead of a
`regex` in the lexer. Since this bug was preventing the corresponding
code path in the lexer to not be triggered, this patch also fixes a few
other small issues that appeared along the way. Bump the `logos`
dependency and add a regression test as well.
2022-02-04 22:23:31 +01:00
Avi Dessauer
a6f653111b Disable record benchmarks 2022-01-10 15:24:31 -05:00
Avi Dessauer
ac3570cd49 Add explanatory comment + remove debug symbols from release profile 2022-01-04 13:40:34 -05:00
Avi Dessauer
a9a0e58c53 Fix bad merge 2022-01-03 11:11:47 -05:00
Avi Dessauer
5f22ff51ab
Merge branch 'master' into avi/24gb-benchmarks-are-better-than-none 2022-01-03 11:06:38 -05:00
Avi Dessauer
81cca83008 This change allows the criterion-compare-action to pass
It needs to be merged prior to #529
2022-01-01 00:02:06 -05:00
Avi Dessauer
f6f1395a5f Fix: save-baseline 2021-12-31 20:23:59 -05:00
Avi Dessauer
b3e4106a8d Fix church bench 2021-12-31 13:59:10 -05:00
Avi Dessauer
4462cbb57e Disable OOM bench 2021-12-03 13:08:34 -05:00
Avi Dessauer
d580c32d7d Merge branch 'avi/benches-and-flamegraphs-reset' into avi/benches-and-flamegraphs-master-2021-12-03 2021-12-03 11:35:22 -05:00
Yannik Sander
b7c6841375 Update codespan library, downgrade lsp-types
codespan_lsp is to-date not compatible with lsp-types >0.88
lsp_types is already at 0.91
codespan_lsp has already updated the bounds upstream but did not not
yet update on crates.io
2021-11-04 10:49:12 +01:00
Litchi Pi
7da57efeb3 repl: Adding a --history-file option to provide history persistence
Implement feature request #428

Signed-off-by: Litchi Pi <litchi.pi@protonmail.com>
2021-11-03 16:41:35 +01:00
Yann Hamdaoui
3de53703d7 Fix cargo install error for lsp
Cargo install failed because the minimad dependency was duplicated, and
made an import ambiguous (it was both in Cargo.toml and imported by
termimad). Took the occasion to update other dependencies.
2021-10-29 14:24:12 +02:00
regnat
fccb2668b2 Update termimad
Fix #415 as the new version provides a style that seems to work great
both on light and dark backgrounds
2021-10-06 16:42:50 +02:00
Yannik Sander
87cf5827af Clean up cargo files 2021-09-24 17:14:24 +03:00
Yannik Sander
26f1f920bc Move lsp to subfolder 2021-09-23 17:21:45 +03:00
Yannik Sander
aebb7c83fe Add language_server dependencies 2021-09-23 16:51:57 +03:00
Acaccia
a179cd1648 Merge branch 'master' into benches-and-flamegraphs 2021-09-16 17:48:28 +03:00
Yann Hamdaoui
82aa6836fe Try to get wasm-pack to work inside the flake 2021-08-31 23:41:06 +02:00
Yann Hamdaoui
64f6b46992 Update package versions
The initial motivation was to match the version of wasm-bindgen and
associated js-sys with the NixOS package wasm-bindgen-cli. Otherwise,
wasm-pack tries to install its own matching version independently, but
this fails (as intended) because of --offline mode. Ended up
regenerating Cargo.lock file.
2021-08-31 23:41:04 +02:00
Yann Hamdaoui
1f1a015c80 Add a buildWasm output the the flake 2021-08-31 23:37:57 +02:00
Yann Hamdaoui
2a3b60681d Update LALRPOP version 2021-08-31 17:05:25 +02:00
Yann Hamdaoui
b9bbf5761b Tentative fix macOS build CI 2021-08-30 15:49:45 +02:00
Yann Hamdaoui
7dfb72a505 Make comment about wasm building more precise 2021-08-30 15:30:40 +02:00
Yann Hamdaoui
3583132bef Restore compatibility with the master branch before merging 2021-08-30 15:30:40 +02:00
Yann Hamdaoui
b4ca213323 Cargo config 2021-08-30 15:27:49 +02:00
Yann Hamdaoui
9f11354c02 Add wasm_bindgen dependency 2021-08-30 15:12:53 +02:00
Anthony Caccia
80aba5f2cc add pprof dependency for creating flamegraphs with criterion 2021-07-19 12:51:32 +02:00
Yann Hamdaoui
1d404f2531 Move tests & benches helper to subcrate 2021-07-01 18:00:24 +02:00
Yann Hamdaoui
c8387e58df Disable auto benches 2021-07-01 18:00:24 +02:00
Yann Hamdaoui
07fedb7ae8 Fix tentative for benchmarks action 2021-07-01 18:00:24 +02:00
Yann Hamdaoui
43c36b122c Add serialization benchmark 2021-07-01 18:00:24 +02:00
Yann Hamdaoui
f7e0359c0c Add lists benchmark 2021-07-01 18:00:24 +02:00
Yann Hamdaoui
a51c629efa Add benchmark helper function 2021-07-01 18:00:24 +02:00
Yann Hamdaoui
66a1b134ae Add criterion for benchmark 2021-07-01 18:00:24 +02:00
Eelco Dolstra
1553e390d6
Merge remote-tracking branch 'origin/feature/record-definition-by-pieces' 2021-03-02 13:33:02 +01:00
Yann Hamdaoui
f6b370dbfc Get rid of direct dependency to either 2021-02-19 14:16:34 +01:00
Yann Hamdaoui
7b1396c4a4 Add dependencies to hash librairies 2021-02-10 09:47:59 +01:00
Yann Hamdaoui
fe909d3fac Add YAML and TOML export formats 2021-02-04 10:59:39 +01:00
Eelco Dolstra
31edf23a28
Merge remote-tracking branch 'origin/feature/repl-toplevel-let' 2021-01-20 13:22:06 +01:00
Yann Hamdaoui
83a9741087 Add tests for ASCII escape sequences 2021-01-19 12:54:14 +01:00
Yann Hamdaoui
cad238ebc8 Add rustyline-derive dependency 2021-01-18 14:52:06 +01:00
Yann Hamdaoui
5f295ffb24 Use ansi_term instead of termcolors
Termcolors directly write to an ouput stream, while rustyline expect the prompt and other output to be provided as ANSI-color strings, which are automatically converted if needed. This commit switch to ansi_term which directly produces strings
2021-01-15 18:03:59 +01:00
Yann Hamdaoui
eb6ead4f0c Add termcolor dependency 2021-01-15 18:03:59 +01:00
Yann Hamdaoui
b1a67f79eb Enable rustyline REPL frontend by default 2021-01-15 18:03:59 +01:00
Yann Hamdaoui
44290d8a8d Add rustyline dependency 2021-01-15 18:03:59 +01:00
Yann Hamdaoui
fc185cb3a8 Use the void library 2021-01-11 16:16:03 +01:00