Calvin Rose
750b448f75
typo doing previous CI trigger.
2024-05-25 16:02:23 -05:00
Calvin Rose
14d1dc8749
Pathing is not quite working...
2024-05-25 16:00:43 -05:00
Calvin Rose
8e0340252b
Add verbose errors to ci
2024-05-25 15:50:51 -05:00
Calvin Rose
8334504f4e
More work on fixing bunlde tools install.
2024-05-25 13:23:11 -05:00
Calvin Rose
2260a593bd
Add some test usage for the sample bundle.
2024-05-25 12:57:09 -05:00
Calvin Rose
7d8af2f99a
Add some testing to the bundle/ module.
2024-05-25 12:44:49 -05:00
Calvin Rose
751ff677fe
Merge branch 'master' into bundle-tools
2024-05-19 09:53:14 -05:00
Calvin Rose
dc5cc630ff
Keep track of hooks and simple dependency tracking.
...
Refuse to install bundle unless dependencies are present.
Dependencies can be found for a bundle pre-install
by looking in ./bundle/info.jdn
2024-05-18 06:24:39 -05:00
Calvin Rose
721f280966
Add with-env
.
2024-05-16 21:52:49 -05:00
Calvin Rose
9946f3bdf4
Add buffer/format-at
...
Move changes over from bundle-tools branch and add testing.
2024-05-15 20:16:42 -05:00
John W Higgins
e89ec31ae5
Add additional format options for os/clock
2024-03-27 22:32:27 -07:00
Calvin Rose
9e6abbf4d4
Fix asm roundtrip issue.
2024-03-10 09:07:11 -05:00
Calvin Rose
3a4f86c3d7
Make host and port configurable for suite-ev.janet
2024-01-28 07:56:59 -06:00
Calvin Rose
df5f79ff35
Merge pull request #1359 from pnelson/binary
...
Add buffer/push-* sized int and float
2024-01-15 08:56:57 -08:00
Calvin Rose
6d7e8528ea
Merge pull request #1346 from ianthehenry/peg-split
...
add a new (split) PEG special
2024-01-15 08:16:06 -08:00
Philip Nelson
197bb73a62
Add buffer/push-* sized int and float
2024-01-14 15:32:13 -08:00
Ian Henry
61f38fab37
add a new (split) PEG special
...
This works similarly to string/split, but the separator is a PEG.
2024-01-05 22:02:52 -08:00
Calvin Rose
9142f38cbc
Fix #1341 .
2024-01-01 08:58:31 -06:00
Calvin Rose
e8ed961572
Merge pull request #1344 from ianthehenry/peg-sub-special
...
Add a new (sub) PEG special
2023-12-31 18:40:47 -06:00
Ian Henry
ea75086300
add a new (sub) PEG special
...
(sub) will first match one pattern, then match another pattern against the
text that the first pattern advanced over.
2023-12-28 22:15:54 -08:00
Calvin Rose
11d7af3f95
Work on addressing #1337 - fix valgrind case.
2023-12-18 08:56:27 -06:00
Calvin Rose
a9176a77e6
Prevent bytecode optimization from remove mk* instructions.
...
These instructions read from the stack, and therefor have side effects.
Removing them without clearing the stack results in broken bytecode.
2023-11-22 08:18:23 -06:00
Calvin Rose
56f33f514b
Fix regression #1327
2023-11-14 19:52:22 -06:00
Calvin Rose
a3228f4997
Add changes and test cases for #1324
2023-11-09 11:18:03 -06:00
Calvin Rose
a775a89e01
Improve assert-no-error test helper.
2023-10-08 17:34:50 -05:00
Calvin Rose
7bfb17c209
Lots of work to make iocp work again.
...
Big issue with IOCP vs. poll variants is that the overlapped
structures have a longer lifetime than intermediate state needed
for epoll. One cannot free overlapped structures after closing a
handle/socket, like one can do with any intermediate state when using
readiness-based IO.
2023-10-07 11:18:43 -07:00
Calvin Rose
0ff8f58be8
Simpler async model that is better suited to epoll
2023-10-06 00:37:19 -05:00
Ian Henry
fa609a5079
fix some typos in docstrings
2023-10-03 19:17:18 -07:00
Calvin Rose
c708ff9708
Allow for qemu and other simulator based testing.
2023-10-02 23:31:55 -07:00
Calvin Rose
2ea90334a3
Remove some checking code for iocp events.
...
Be more permissive abouts events we get.
2023-10-02 23:25:26 -07:00
Calvin Rose
8c90a12e0f
More test cases.
2023-09-29 07:37:33 -05:00
Calvin Rose
e05bc7eb54
Address compiler bug with break
.
...
Using result from `break` expression could trigger code that would
work, yet contain invalid, dead code preventing good marshalling.
2023-09-28 20:14:22 -05:00
primo-ppcg
db366558e7
add :unless
loop modifier
2023-09-13 15:21:46 +07:00
primo-ppcg
a5ff26f602
add more test cases for partition
and mean
2023-09-08 16:30:44 +07:00
primo-ppcg
2f43cb843e
Allow one-term :range
and :down
forms
2023-08-29 10:59:16 +07:00
Calvin Rose
d9605c2856
Allow iterating over generators with pairs, keys, and values.
2023-08-22 19:25:05 -05:00
Calvin Rose
2ac36a0572
Merge pull request #1257 from primo-ppcg/any-every
...
Update `any?`, `every?`
2023-08-18 07:20:44 -05:00
primo-ppcg
6222f35bc8
add buffer/from-bytes
2023-08-18 12:35:12 +07:00
primo-ppcg
15760b0950
update any?
, every?
...
Updates `any?` and `every?` to be exact functional analogues to `or` and `and`.
2023-08-18 07:39:30 +07:00
primo-ppcg
8a70fb95b5
slight refactoring
2023-08-05 11:00:23 +07:00
primo-ppcg
d8b45ecd61
better test coverage
2023-08-03 20:39:32 +07:00
Calvin Rose
cd3573a4d2
Merge pull request #1224 from primo-ppcg/array-remove
2023-07-15 06:42:15 -05:00
Calvin Rose
738fe24e6d
Allow buffer/blit to take explicit nils for default args.
...
Also small changes for range checking code.
2023-07-14 20:04:10 -05:00
primo-ppcg
bdefd3ba1e
update final array index to be -1
2023-07-14 17:34:55 +07:00
Calvin Rose
8183cc5a8d
Disallow converting negative numbers to int/u64
...
The wrap-around rule doesn't make sense once subtraction is
properly fixed.
2023-07-09 22:25:20 -05:00
Calvin Rose
3b6371e03d
Add test case for issue #1217
2023-07-09 21:56:41 -05:00
sogaiu
5a5e70b001
Update and ascii-sort string escapes in peg
2023-07-08 17:54:00 +09:00
Calvin Rose
117c741c29
Add test for marshalling channels.
2023-07-02 13:13:59 -05:00
primo-ppcg
2007438424
add tests for inttypes bnot
2023-07-01 21:49:49 +07:00
primo-ppcg
b3db367ae7
Add test cases for div and mod
2023-06-30 19:48:45 +07:00