Commit Graph

2642 Commits

Author SHA1 Message Date
Dan Doel
4f4395fd65 Add a jit test for multiple evaluation from scratch file 2024-04-01 16:12:22 -04:00
Arya Irani
35c4bdd372 Merge branch 'kylegoetz-udp' of github.com:unisonweb/unison into kylegoetz-udp
# Conflicts:
#	parser-typechecker/src/Unison/Builtin.hs
#	parser-typechecker/src/Unison/Runtime/Builtin.hs
2024-03-31 01:17:21 -06:00
Kyle Goetz
3679b0d8c1 move UDP tests to correct spot 2024-03-29 20:57:24 -05:00
Kyle Goetz
f8e80a672f add UDP test 2024-03-29 20:53:45 -05:00
Dan Doel
eaee313440 Split corrected many pattern into two patterns 2024-03-29 12:39:30 -04:00
Dan Doel
8c58de7d62 Add jit link tests file 2024-03-28 19:30:07 -04:00
Dan Doel
bb0ee7d044 Add link equality/comparison tests to jit test suite 2024-03-28 17:41:24 -04:00
Dan Doel
596fb892ac Modify serial-tests to test for cache_ bug 2024-03-22 17:47:37 -04:00
Dan Doel
702318a6e4 A few fixes/tweaks
- Changes the naming convention for builtin types/data to avoid clashes
  between builtins and pregenerated data types. For instance, both had a
  Value type in scheme, because of the in-unison representation. Instead
  of just `unison-`, now either `builtin-` or `ref-` prefixes are used.

- Fixes several places where invalid values were being used in
  exceptions. Raw scheme values were being returned that do not
  correspond to unison values, and this was causing problems with
  reflection.

- Fixes some code loading operations returning in-unison `Reference`
  values instead of term link values. Parts of these are implemented in
  unison, so both types are in play, and need to be correctly mediated.
2024-03-22 13:09:23 -04:00
Arya Irani
1e6f0daae9
Merge pull request #4808 from unisonweb/24-03-18-tweak-tdnr-visibility
bugfix: tweak name priority for tdnr
2024-03-20 17:43:19 -06:00
Arya Irani
3fbb7a2c65
Merge pull request #4810 from unisonweb/topic/jit-links
Fix up uses of typelinks in the jit
2024-03-20 17:06:13 -06:00
Dan Doel
9ef24b2b2c Bump depended @unison/internal version 2024-03-20 15:57:46 -04:00
Mitchell Rosen
3799ed5d26 commit transcript output changes 2024-03-19 14:48:27 -04:00
Mitchell Rosen
96e008f153 fix suffix.md transcript 2024-03-19 12:56:03 -04:00
Arya Irani
48f5a30854
Merge pull request #4790 from unisonweb/fix/pattern-many
Fix many pattern not backtracking
2024-03-18 21:12:15 -06:00
Dan Doel
64ae273a33 Add test case 2024-03-18 12:01:43 -04:00
Paul Chiusano
8b0b485536 Don't always allow use clauses in do. Only do so if it's top level or contains a block. 2024-03-16 22:18:43 -05:00
Paul Chiusano
109a4de506 Prefer do in pretty-printer 2024-03-16 09:10:48 -05:00
Chris Penner
4ac7bb20cd Improve source excerpt highlighting 2024-03-13 12:14:31 -07:00
Chris Penner
3d95906195 Update transcripts 2024-03-13 11:52:29 -07:00
Arya Irani
4a9707beca
Merge pull request #4768 from unisonweb/fix/4722
Push type checking through match statements
2024-03-09 11:31:44 -05:00
Arya Irani
27b29c1ee3
Merge pull request #4675 from unisonweb/topic/native-compiler
Rework racket based runtime/compilation
2024-03-08 17:18:19 -05:00
Dan Doel
e0b178b005 Push type checking through match statements 2024-03-08 15:18:35 -05:00
Arya Irani
e8e610d0a8 do we need base.output.md? 2024-03-08 14:50:42 -05:00
Arya Irani
b7530a56ac remove compile.native.{fetch,genlibs} commands
existing ucm commands can be used instead, i.e. `gen-racket-libs.md`
2024-03-08 13:11:49 -05:00
Arya Irani
d913a61f45
Merge pull request #4752 from unisonweb/runarorama/fixFieldNames
Fix field accessors not showing up in `view` in some cases
2024-03-08 10:09:09 -05:00
Dan Doel
51dbdb7746 Fix a variable capture issue during let floating 2024-03-06 15:29:51 -05:00
Rúnar
826ba2c5ad Add transcript 2024-03-05 14:50:16 -05:00
Dan Doel
aa537848c6 Bump gen-racket-libs version for @unison/internal 2024-03-04 11:52:19 -05:00
Dan Doel
3048be647e Merge remote-tracking branch 'origin/trunk' into topic/native-compiler 2024-03-01 17:19:54 -05:00
Mitchell Rosen
a90c394000 ⅄ trunk → 24-02-26-upgrade-tweak 2024-02-27 12:37:47 -05:00
Mitchell Rosen
8dbec31f40 add new guard in upgrade to not give names to old things in new dep 2024-02-27 12:32:18 -05:00
Mitchell Rosen
4aca271228 add transcript that demonstrates old undesirable behavior 2024-02-27 11:22:38 -05:00
Arya Irani
f66bf086b8 Merge remote-tracking branch 'origin/trunk' into topic/ed25519
# Conflicts:
#	unison-src/transcripts-using-base/all-base-hashes.output.md
2024-02-26 20:18:46 -05:00
Mitchell Rosen
581e2e105a add transcript 2024-02-26 16:35:24 -05:00
Mitchell Rosen
179e131e94 add transcript 2024-02-26 10:01:48 -05:00
Dan Doel
a320820bc3 Transcript updates 2024-02-23 18:03:04 -05:00
Dan Doel
b3c4f9d87f Implement ed25519 builtins for Haskell 2024-02-23 18:02:24 -05:00
Mitchell Rosen
c61484112c make deleteReplacements transcript work 2024-02-22 14:53:17 -05:00
Mitchell Rosen
5330261d0c regenerate serial-test-00 output 2024-02-22 14:52:09 -05:00
Mitchell Rosen
19070ce126 regenerate all-base-hashes output 2024-02-22 14:50:59 -05:00
Mitchell Rosen
d34522e6a4 allow () escaped in backticks 2024-02-22 14:12:03 -05:00
Mitchell Rosen
e31aba4620 fix tab completion 2024-02-22 13:18:26 -05:00
Mitchell Rosen
12a75f18b3 partially fix tab-completion 2024-02-22 10:55:13 -05:00
Mitchell Rosen
ed881583e7 fix a few things, but oops completion is broken somehow 2024-02-21 15:16:00 -05:00
Mitchell Rosen
fd74c51100 commit transcript diff that fixes forall display bug 2024-02-20 13:17:55 -05:00
Mitchell Rosen
aa2107982f ⅄ trunk → 22-10-18-backticky-parser 2024-02-20 11:10:58 -05:00
Arya Irani
3cc86fac62 all the mergeio types we rely on should be in base I suppose? 2024-02-15 17:11:27 -05:00
Arya Irani
b668fe3b96 jit tests reply on some types not in base
at least ThreadKilledFailure, from https://github.com/unisonweb/unison/pull/3835
2024-02-15 16:53:04 -05:00
Arya Irani
f56fb23f46 don't fetch internal 2024-02-14 08:15:14 -05:00
Arya Irani
25d703a203 Merge branch 'trunk' into topic/native-compiler
# Conflicts:
#	unison-cli/unison/ArgParse.hs
#	unison-cli/unison/Main.hs
2024-02-13 15:28:00 -05:00
Chris Penner
72727afc46 Update end-of block symboly test 2024-02-12 10:50:41 -08:00
Chris Penner
b00acbe182 Add parens to annotation of lexed symboly segments 2024-02-12 10:46:38 -08:00
Arya Irani
b3cad2ce2a refactor ci.yaml with jit setup steps (attempt 1)
recommend moving support scheme files to another repo
if they aren't deeply related to ucm; but maybe they are.
2024-02-11 21:02:04 -05:00
Dan Doel
5f946e202e Merge remote-tracking branch 'origin/trunk' into topic/native-compiler 2024-02-07 16:43:47 -05:00
Chris Penner
a0f5ce9e52 Add tab-completion and fzf for upgrade command 2024-02-07 13:37:32 -08:00
Dan Doel
a678f55e10 Actually make run.native use the standalone runner
All the infrastructure was there already, just needed to enable it.

This should break the jit tests in CI until we can get the runner
building as a prior step, and coordinate the location the native runtime
looks for the build files.
2024-02-07 16:10:33 -05:00
Dan Doel
7ce4ad224d Add information on further building to gen-racket-libs.md 2024-02-07 12:00:42 -05:00
Dan Doel
2e98e1a7c2 Add a transcript to create generated racket libs 2024-02-06 14:04:43 -05:00
Arya Irani
cf202fef9a
Merge pull request #4674 from unisonweb/cp/lsp-folding 2024-02-06 12:59:21 -05:00
Arya Irani
4f345fedda
Merge pull request #4671 from unisonweb/cp/format-handlers
Fix formatting on handle-with blocks
2024-02-05 22:13:57 -05:00
Chris Penner
4da9d12ef1 Fix span annotations on handle-with blocks 2024-02-05 10:45:03 -08:00
Chris Penner
be330a8d99 Allow multi-line bold, italics, and strikethru 2024-02-05 10:17:32 -08:00
Mitchell Rosen
cf15f30261 ⅄ trunk → 22-10-18-backticky-parser 2024-02-02 10:00:38 -05:00
Travis Staton
4af93e9ec0
Fix update bug #4618
It is not safe to assume everything in the TUF is in namespace -
libdeps, it also contains new terms/decls. So, looking up the
constructors of a type may now return Nothing, in which case we know
that the decl is new and no deleteConstructorActions need to be generated.
2024-02-01 15:40:32 -05:00
Travis Staton
df2a53a97f
Add transcript demonstrating #4618
This transcript throws an exception, so no output can be committed.
2024-02-01 15:40:31 -05:00
Mitchell Rosen
96ca5c71ce ⅄ trunk → 22-10-18-backticky-parser 2024-02-01 13:54:11 -05:00
Arya Irani
9a058a381e
Merge pull request #4659 from unisonweb/cp/inline-literal-escaping
Default to single-quotes
2024-02-01 07:49:15 -05:00
Chris Penner
c083434457 Add folding range tests 2024-01-31 18:05:13 -08:00
Chris Penner
9b261b831f Transcript output 2024-01-31 16:30:41 -08:00
mergify[bot]
70bedd668a
Merge pull request #4653 from unisonweb/cp/debug-term
Add `debug.term` `debug.type` for debugging
2024-02-01 00:26:43 +00:00
Chris Penner
61a0542183 Default to single-quotes 2024-01-31 16:19:14 -08:00
Chris Penner
db15634fde Rename to debug.term|type.abt 2024-01-31 16:04:20 -08:00
Arya Irani
9e4bc32b94
Merge pull request #4655 from unisonweb/cp/text-codeblock-fix
Fix raw text-block indentation
2024-01-31 18:02:55 -05:00
Chris Penner
1f67d095f2 Add regression test for empty-lines in raw literals 2024-01-31 13:03:25 -08:00
Chris Penner
cb974e7ae1 Newlines within {{ }} for multi-line docs 2024-01-31 11:27:49 -08:00
Chris Penner
bea34375ab Update transcripts 2024-01-31 10:12:03 -08:00
Chris Penner
6f21f73b22 Update transcripts 2024-01-31 10:08:02 -08:00
Mitchell Rosen
0504bca1b3 ⅄ trunk → 22-10-18-backticky-parser 2024-01-31 11:19:37 -05:00
Chris Penner
52c8d40b03 Update transcripts 2024-01-30 16:50:48 -08:00
Chris Penner
e66806fe13 Update whitespace trimming 2024-01-30 16:30:05 -08:00
Chris Penner
d07077e223 Fix parsing/printing of raw syntax blocks in transcripts 2024-01-30 16:06:28 -08:00
Chris Penner
b93d2894e5 Clean up whitespace trimming 2024-01-30 16:02:49 -08:00
Chris Penner
61059683a8 Update transcripts 2024-01-30 14:49:36 -08:00
Chris Penner
203cd8c253 Fix whitespace trimming on doc literals 2024-01-30 14:36:37 -08:00
Chris Penner
70c343d87f Add round-trip test for doc2 2024-01-30 13:15:29 -08:00
Chris Penner
6706b2e818 Remove verbose transcripts since anythingToString seems to be system
dependent.
2024-01-30 12:53:27 -08:00
Travis Staton
1568dfc926
fix #4280 2024-01-30 15:23:28 -05:00
Travis Staton
a87f379500
Add transcript demonstrating #4280 2024-01-30 15:22:41 -05:00
Chris Penner
68c78f8d8f Update transcripts 2024-01-30 11:58:55 -08:00
Chris Penner
8a099ce233 Add debug-definition transcripts 2024-01-30 11:55:36 -08:00
Mitchell Rosen
acce2ea1df ⅄ trunk → 22-10-18-backticky-parser 2024-01-30 08:02:55 -05:00
dolio
d2bb44f6a6
Merge pull request #4642 from unisonweb/fix/local-defs
Local definition generalization and possible TDNR improvement
2024-01-29 14:13:42 -05:00
Arya Irani
04376665e8
Merge pull request #4641 from unisonweb/runarorama/improve-tdnr-message
Make errors nicer when TDNR fails
2024-01-26 14:06:19 -05:00
Arya Irani
aec8aecf26
Merge pull request #4643 from unisonweb/travis/4592/roundtrip-bug-in-docs
Don't implicitly close transclude blocks
2024-01-26 14:04:15 -05:00
Rúnar
9ad4583e66 Merge branch 'runarorama/improve-tdnr-message' of https://github.com/unisonweb/unison into runarorama/improve-tdnr-message 2024-01-26 12:54:05 -05:00
Rúnar
3b7e2586a2 Fix type rendering for existentials, other tweaks 2024-01-26 12:53:29 -05:00
Travis Staton
a939251ebd
don't implicitly close transclude blocks
fixes #4592
2024-01-26 12:53:26 -05:00
Travis Staton
9404e207aa
add transcript demonstrating 4592 2024-01-26 12:45:15 -05:00
Rúnar
ed3c84a7b3
Discard changes to unison-src/transcripts-manual/benchmarks/output/2024-01-25T15:48:31.296974000Z-bench.txt 2024-01-25 23:16:20 -05:00