Commit Graph

16934 Commits

Author SHA1 Message Date
mergify[bot]
42ebc76518
Merge pull request #5237 from neduard/jit-support-non-gnu-unix-systems
Support native compilation on non-GNU Unix systems
2024-07-18 15:38:41 +00:00
Eduard Nicodei
c657e58924 remove extra word and mention libressl 2024-07-18 00:50:16 +01:00
Eduard Nicodei
7ed45f6cd7
minor fixups 2024-07-18 00:44:22 +01:00
Eduard Nicodei
55560e58ca update transcripts-manual/gen-racket-libs.output.md 2024-07-18 00:31:16 +01:00
Eduard Nicodei
05362b87d0 update command for integration tests in docs 2024-07-18 00:31:16 +01:00
Eduard Nicodei
3cd2a76d5e update scheme-libs/racket/unison/Readme.md 2024-07-18 00:31:16 +01:00
Eduard Nicodei
b6b3137002 create gitignore in scheme-libs/racket/unison/ 2024-07-17 23:42:25 +01:00
Eduard Nicodei
d66c5c79f8 just whitespace changes 2024-07-17 23:30:14 +01:00
Eduard Nicodei
f18cb2fc9d use /usr/bin/env sh for jit-tests.sh
this is more portable and ensures we can compile on systems without bash (eg *BSD)
2024-07-17 23:01:31 +01:00
Eduard Nicodei
e3b2e4bff6 use libb2 for all blake functions
required if compiling on systems that use eg libressl
2024-07-17 23:00:41 +01:00
ChrisPenner
cdab05d259 automatically run ormolu 2024-07-17 18:29:29 +00:00
Chris Penner
b0be4808f4 Merge trunk 2024-07-17 11:27:55 -07:00
Greg Pfeil
f18943284e
Add cachix to the devShell
This tool manages the Unison cache, so it’s useful to provide in dev
environments. Actually pushing to the cache requires a secret key.
2024-07-16 22:14:38 -06:00
Greg Pfeil
bf080a5c5b
Clean up devShell definition
Mostly formatting, but also
- removes Apple’s Cocoa from the dependencies,
- moves some dependencies from `buildInputs` to `nativeBuildInputs`.
2024-07-16 22:14:29 -06:00
Greg Pfeil
b1cf12330a
Split TranscriptParser into three modules
- `Transcript` – the data model
- `Transcript.Parser` – the parser and printer
- `Transcript.Runner` – the runner

There is unfortunately still some printing tightly coupled to the
runner, but this makes it more obvious. Also, the runner is the only
component tied to the CLI.
2024-07-16 19:35:02 -06:00
Greg Pfeil
00f6c8c954
Refactoring TranscriptParser
A bunch of small changes in TranscriptParser

- remove dead code
- don’t use `Show` for formatted output
- put processed blocks in a separate sum type from unprocessed blocks
- remove `Transcript` from identifiers (changed importers to use
 `qualified as Transcript`)
- deduplicated some error reporting

And one happy fix, IMO – got rid of the `Text.init` that plagued me in
2024-07-16 19:31:01 -06:00
Greg Pfeil
734b6c44f6
Minor formatting cleanup
So my editor stops fixing things for me.
2024-07-16 12:23:27 -06:00
Greg Pfeil
ce9b1d8d4e
Add docs for updating the Nix config after editing it 2024-07-16 12:23:27 -06:00
Greg Pfeil
f17af1f5ca
Document Nix cache configuration 2024-07-16 12:23:26 -06:00
mitchellwrosen
a4064319b0 automatically run ormolu 2024-07-16 16:08:59 +00:00
Arya Irani
525e923467
Merge pull request #5227 from sellout/deduplication 2024-07-16 03:33:43 +00:00
Arya Irani
1337ac2e9a
Merge pull request #5231 from sellout/dont-upgrade-stack 2024-07-16 03:30:26 +00:00
Arya Irani
4538189e84
Merge pull request #5228 from sellout/pin-vscode-versions 2024-07-16 03:29:45 +00:00
Greg Pfeil
e10801453e
Don’t let Stack complain about Nix
We intentionally disable Stack’s Nix integration when it’s run from a
Nix shell. We don’t want Stack complaining that we should enable it
since it found `nix` on the path.
2024-07-15 16:56:17 -06:00
Chris Penner
605e062bcf Remove now-unused sync types 2024-07-15 15:55:59 -07:00
Greg Pfeil
f919c9b8c5
Don’t let Stack tell contributors to upgrade
We use a specific version of Stack, we don’t want Stack complaining to
contributors that it doesn’t happen to be the latest.
2024-07-15 16:45:28 -06:00
Greg Pfeil
960f7d1035
Avoid duplicating YAML info in Markdown
Reviewing the last merge into #5142, I noticed some duplicated and out-
of-date information. This brings things up-to-date and slightly reduces
the duplication.

- bumped Ormolu used by ci.yaml from 0.5.2.0 to 0.7.2.0, to match
  flake.nix
- removed Markdown that claimed ci.yaml was using Ormolu 0.5.0.1
- moved description from `base-codebase` in Markdown to comment on
 `runtime_tests_codebase` in ci.yaml (and updated it to refer to
   builtin-tests/interpreter-tests.md instead of builtin-tests/base.md)
- removed `unison_src_test_results` as it’s no longer managed as a
  single variable
- moved other comments from Markdown to ci.yaml
- added Markdown recommending to look in ci.yaml for specifics
- rearranges the order of vars in ci.yaml to match the order they were
  presented in Markdown

One thing I wasn’t sure how to map over: Markdown claims Racket 8.7 is
used in CI, but ci.yaml doesn’t mention any Racket version.
2024-07-15 15:54:18 -06:00
Arya Irani
7019595b7b
Merge pull request #5224 from neduard/merged-ghc-upgrade-try-2 2024-07-15 20:47:57 +00:00
Arya Irani
b65836b122
Merge pull request #5226 from unisonweb/cp/faster-dep-collection 2024-07-15 20:27:17 +00:00
Chris Penner
ba78b69ed8 Better recursive ref search 2024-07-15 11:20:48 -07:00
Eduard Nicodei
4e44b94ad6 update transcripts 2024-07-15 19:10:27 +01:00
Arya Irani
9516c5983c
Merge pull request #5223 from unisonweb/cp/skip-eval 2024-07-15 17:30:59 +00:00
Eduard Nicodei
456b8e635a fix warning: add missing Functor 2024-07-15 18:21:52 +01:00
Eduard Nicodei
6ed06f3089 Merge remote-tracking branch 'origin/trunk' into merged-ghc-upgrade-try-2 2024-07-15 18:21:33 +01:00
Chris Penner
0c7851d289 Don't evaluate the unison file if there are no watch expressions. 2024-07-15 10:01:59 -07:00
Arya Irani
ce5c9feb6e
Merge pull request #5220 from unisonweb/cp/keep-current-branch 2024-07-12 23:21:22 -04:00
Arya Irani
264a31a956
Merge pull request #5218 from unisonweb/lsp/fix-unused-binding-locs 2024-07-12 23:20:13 -04:00
Chris Penner
0dc7b6d3ab Reset user to project root if they were on a sub-namespace. 2024-07-12 17:00:45 -07:00
Chris Penner
df0261c8d8 Keep most recent path and branches through migration to version 17 2024-07-12 16:54:42 -07:00
Chris Penner
11208f5284 Add unused binding test 2024-07-12 14:48:18 -07:00
Chris Penner
7c52443a01 Merge trunk 2024-07-12 11:43:31 -07:00
Chris Penner
5652c179fc Compiling with lamda annotations 2024-07-12 11:15:21 -07:00
mergify[bot]
212a232736
Merge pull request #5216 from unisonweb/topic/decomp-foreign
Use builtin reference names in foreign decompiling
2024-07-12 17:49:05 +00:00
Dan Doel
a010a8a2d7 Use builtin reference names in foreign decompiling
E.G. print <Promise> instead of <Foreign>
2024-07-12 13:23:52 -04:00
mergify[bot]
be7e6cb2ff
Merge pull request #5041 from unisonweb/cp/project-root
Project Roots
2024-07-11 20:45:11 +00:00
Arya Irani
60596a2d6d
Merge pull request #5210 from unisonweb/topic/msg-trace 2024-07-11 16:25:48 -04:00
Chris Penner
670b0868b9 Port fix2254 to new update 2024-07-11 12:45:44 -07:00
Chris Penner
1e4f1abe73 Fix diff-helper to use the names from both branches 2024-07-11 12:33:19 -07:00
Chris Penner
474fddbd13 Use a branch root semispace cache 2024-07-11 10:30:03 -07:00
Chris Penner
987cd61976 Swap branch-relative-paths back to relative 2024-07-11 09:49:55 -07:00