Commit Graph

97 Commits

Author SHA1 Message Date
Greg Pfeil
0031542faf
Add a space before code block info strings
This is for consistency with the `cmark` style. Now the blocks we still
pretty-print ourselves will match the bulk of them that `cmark`
produces.
2024-07-10 13:56:07 -06:00
Chris Penner
6e48ce47be builtins.md converted to projects 2024-06-25 17:14:48 -07:00
etorreborre
01bb42bbd3
feature: add RSA builtin functions for signing 2024-05-11 00:05:38 +02:00
Arya Irani
4c9deb169c update transcript outputs 2024-05-10 11:22:57 -04:00
Arya Irani
1be5cf2d1d Merge branch 'trunk' into kylegoetz-udp
# Conflicts:
#	unison-src/transcripts-using-base/all-base-hashes.output.md
#	unison-src/transcripts/builtins-merge.output.md
#	unison-src/transcripts/emptyCodebase.output.md
#	unison-src/transcripts/merges.output.md
#	unison-src/transcripts/move-all.output.md
#	unison-src/transcripts/move-namespace.output.md
#	unison-src/transcripts/reflog.output.md
#	unison-src/transcripts/reset.output.md
#	unison-src/transcripts/squash.output.md
#	unison-src/transcripts/upgrade-happy-path.output.md
2024-04-02 00:19:42 -06:00
Arya Irani
96a5be9b07 update transcript output 2024-04-02 00:12:34 -06:00
Dan Doel
eaee313440 Split corrected many pattern into two patterns 2024-03-29 12:39:30 -04:00
Dan Doel
a320820bc3 Transcript updates 2024-02-23 18:03:04 -05:00
Dan Doel
80c44ed5a1 Merge branch 'trunk' into captureAs 2023-11-30 13:40:57 -05:00
Dan Doel
b857281dc8 Update transcripts for new builtins 2023-10-23 13:54:28 -04:00
Dan Doel
8306ff82a3 Add a builtin for validating code hashes before loading. 2023-08-10 15:48:28 -04:00
Paul Chiusano
d33b3f9b53 refresh transcripts 2023-07-10 21:43:15 -04:00
Rúnar
0f58263ac5 Added IO.randomBytes builtin 2023-07-02 00:31:11 -04:00
Rúnar
646dddbdad Fixed up transcripts 2023-06-22 00:46:40 -04:00
Stew O'Connor
054cdd87de add Bytes.indexOf and Text.indexOf builtins
fixes #4060
2023-06-01 19:24:07 -07:00
Stew O'Connor
e231f80211 Add a new Pattern.captureAs builtin
Adding a Pattern.captureAs which will act just like capture, but
additionally takes an `a` which will be used as a replacement for the
capture.

My motivation for adding it is that I want to match on escape
sequence, but actually capture the unescaped character instead.

For example:

```
Pattern.captureAs "\n" (Pattern.literal "\\n")
```
2023-05-08 16:31:59 -07:00
Chris Krycho
81290d8eb4
Add Md5 builtin to crypto.HashAlgorithm
Expose Haskell's implementation like the existing crypto built-ins, and
add it to the test transcripts.
2023-03-13 15:36:55 -06:00
Fabio Labella
a8f1fb6fe1 Generate transcripts 2023-02-22 16:06:30 +00:00
Rúnar
9873a6b32c Fix transcript output 2023-02-10 22:51:45 -05:00
Dan Doel
9e0e93135f Merge remote-tracking branch 'origin/trunk' into topic/builtins-misc 2023-01-26 10:30:05 -05:00
Dan Doel
6192796344 Transcript updates 2023-01-25 19:35:16 -05:00
Fabio Labella
b09743a622 Generate transcripts 2023-01-25 02:35:18 +00:00
Dan Doel
3d553b3048 Transcript updates 2023-01-23 15:37:54 -05:00
Fabio Labella
743d2018e2 Regenerate transcripts 2023-01-18 02:09:46 +00:00
andrii
bf748a8d3a Running stack exec transcripts 2022-10-01 20:40:55 +02:00
Chris Penner
c8b71081d9 PR cleanup 2022-09-01 11:34:36 -06:00
Dan Doel
f92bdfb67e Transcript changes 2022-08-25 14:51:34 -04:00
Paul Chiusano
9394737ace refresh transcripts 2022-07-01 16:48:17 -04:00
Dan Doel
6ee5305e6d Transcript changes 2022-07-01 10:01:33 -04:00
Dan Doel
f0b63e782e Some array additions/fixes
- Add 24 and 40 bit primitive reads. These are directly supported by
  Chez, and are convenient for base32hex coding.
- Add size operations on builtin arrays.
- Fix order of operations in implementations multi-byte array reads.
  They were shifting before promoting to a larger word size, which would
  just zero the values out.
2022-06-22 11:37:34 -04:00
Dan Doel
aef728992b Merge branch 'trunk' into work/arrays 2022-06-20 15:20:36 -04:00
Dan Freeman
c5f429fc3f
Refresh transcripts 2022-06-16 13:54:25 -06:00
Dan Doel
09ba846102 Add more array builtins to flesh out the actual API 2022-06-15 18:28:30 -04:00
Dan Doel
88269997ec Missed builtin array types + transcript changes 2022-06-09 15:40:43 -04:00
Rúnar
d01e05ab63 update transcripts 2022-05-10 15:19:51 -04:00
iamevn
fdddfacc7c stack exec transcripts 2022-04-04 15:56:08 -07:00
Dan Doel
d62542fb60 Add tests for sandboxing check 2022-01-24 19:43:46 -05:00
Dan Doel
8583cba066 Transcript updates 2021-12-08 14:36:24 -05:00
Stew O'Connor
643bbf96bc update transcripts 2021-11-30 08:43:29 -08:00
iamevn
21539b337a stack exec transcripts 2021-10-23 10:10:57 -07:00
Paul Chiusano
f4188390ca Merge remote-tracking branch 'origin/trunk' into feature/compress
# Conflicts:
#	unison-src/transcripts/alias-many.output.md
#	unison-src/transcripts/emptyCodebase.output.md
#	unison-src/transcripts/merges.output.md
#	unison-src/transcripts/reflog.output.md
#	unison-src/transcripts/squash.output.md
2021-10-04 13:21:31 -05:00
Alvaro Carrasco
1e5a509931 Renamed to systemTimeMicroseconds and updated transcripts 2021-09-25 11:29:57 -06:00
Cody Allen
1f0cf09c85
Merge branch 'trunk' into remote-support 2021-09-22 14:15:00 -07:00
Dan Doel
bcdb0d551b Transcript updates
- Added some codeops tests using the new validate
- Updated other transcript output for new builtins
2021-09-21 17:46:00 -04:00
Stew O'Connor
71c816e712 Merge remote-tracking branch 'origin/trunk' into feature/any-extract 2021-09-16 09:02:30 -07:00
Stew O'Connor
b7fc6c6f5d add a Any.unsafeExtrace builtin 2021-09-10 13:49:15 -07:00
Stew O'Connor
bcba5e7ac7 updated transcripts 2021-09-10 12:58:02 -07:00
Stew O'Connor
66f32ce007 update transcript output 2021-09-10 10:40:23 -07:00
Paul Chiusano
52a906441f refresh transcripts 2021-08-24 12:56:51 -05:00
Paul Chiusano
0282210841 Merge remote-tracking branch 'origin/trunk' into feature/compress
# Conflicts:
#	unison-src/transcripts/alias-many.output.md
#	unison-src/transcripts/emptyCodebase.output.md
#	unison-src/transcripts/merges.output.md
#	unison-src/transcripts/reflog.output.md
#	unison-src/transcripts/squash.output.md
2021-08-24 11:57:35 -05:00