Yann Hamdaoui
1ddf52bdeb
[CI] Add clippy check ( #793 )
...
* Print logs when running `nix flake check` in CI
* Add clippy to the flake checks and git hooks
* Clippy auto fix
`cargo clippy --fix --workspace --no-deps --frozen --offline -- --deny warnings --allow "clippy::new-without-default" --allow "clippy::match_like_matches_macro"`
* Manually fix remaining Clippy warnings
Co-authored-by: Julien Debon <julien.debon@tweag.io>
2022-11-17 18:18:49 +01:00
Julien Debon
bb66cb0266
Update wasm-bindgen from 0.2.74 to 0.2.83
...
Version 0.2.74 no longer builds with recent `nixpkgs` because of openssl.
* Update wasm-bindgen from 0.2.74 to 0.2.83
* Refactor `wasm-bindgen-cli` overlay to override Nixpkgs' definition, rather
than build the package from Github
* Remove the no longer used `wasm-bindgen-api-Cargo.lock` file
* Add comments about the hidden coupling between `wasm-bindgen` in `Cargo.toml`
and `wasm-bindgen-cli` in `flake.nix`
2022-11-03 11:36:34 +01:00
Anthony Caccia
a22f840495
rewrite the Identifier Interner to store strings in an arena and Ident to have symbols
2022-09-20 13:43:09 +02:00
Anthony Caccia
a24edc8535
WIP: add a naive string interner for identifiers
2022-09-16 15:40:31 +02:00
Yann Hamdaoui
50e373f181
Bump version to 0.2.1
2022-08-08 15:31:44 +02:00
Yann Hamdaoui
2a2f486087
Nickel version: 0.1.0 -> 0.2.0
2022-08-08 15:31:44 +02:00
Yann Hamdaoui
947c943f16
Migrate to the latest edition (2021)
2022-08-05 15:08:29 +02:00
Yann Hamdaoui
841cfb7db1
Separate the WASM repl in wrapper crate
2022-06-15 16:53:38 +02:00
Yann Hamdaoui
74f05ba29b
Update all dependencies + corresponding fixes
2022-06-02 17:19:46 +02:00
francois-caddet
28272b2a8b
rename the bench
2022-05-30 16:50:15 +02:00
francois-caddet
45487a8063
first draft of typechecker benches.
...
proved on a rewrite of nixpkgs lists lib in nickel
2022-05-30 16:48:07 +02:00
francois-caddet
43295e39e8
bench stdlib typechecking
2022-05-25 10:40:14 +02:00
francois-caddet
0181308e0f
add mantis benches
...
come from a port of mantis ops by @yannham
2022-05-20 16:28:50 +02:00
francois-caddet
482d5250d9
Merge branch 'master' into feature/pretty-print
2022-05-13 20:03:40 +02:00
francois-caddet
0815ca5480
some cleaning
...
- unused variables and imports warnings fixed
- move a `similar` to dev-dependencies because only used for
prettyprinting tests
2022-05-13 19:44:57 +02:00
Erin van der Veen
f84432c440
Construct markdown for (nested) record docs
...
Documentation generation is hidden behind a feature flag to fix and
issue where the wasm target could not be build
2022-05-13 14:02:52 +02:00
francois-caddet
dad5512de5
fix some multiline string and others prety printing
2022-05-02 19:09:09 +02:00
francois-caddet
983a593a8e
add command expend
to debug nickel and test prettyprinting
2022-04-12 09:11:19 +02:00
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