aboutsummaryrefslogtreecommitdiffhomepage
path: root/src (follow)
AgeCommit message (Collapse)AuthorLines
2021-04-25Prepare for 1.15.5 release.v1.15.5Calvin Rose-2/+2
2021-04-25Add declare-headers to jpm.Calvin Rose-1/+1
2021-04-15Fix #682 - Don't hardcode size of sun_path.Calvin Rose-2/+3
2021-03-30Fix #673 - check typed array index bounds as well as buffer count.Calvin Rose-5/+12
2021-03-26Merge branch 'master' of github.com:janet-lang/janetCalvin Rose-1/+4
2021-03-26Add net/shutdown to allow better networking with streams.Calvin Rose-2/+54
2021-03-24Support adding arbitrary metadata to bindingsMichael Camilleri-0/+3
2021-03-19Version bump (development version).Calvin Rose-3/+3
2021-03-19Update printing when entering debugger.Calvin Rose-13/+8
2021-03-19Change inheritance rule.Calvin Rose-5/+16
2021-03-16(#667) Add constant inlining for tuples and structs.Calvin Rose-4/+34
Structs and tuples composed entirely out of constant values will themselves be considered constant values during compilation. This reduces the amount of generated code.
2021-03-16Prepare for 1.15.4 release.Calvin Rose-2/+2
2021-03-13Sort keys initial.Calvin Rose-18/+84
2021-03-13Update pretty printing default depth.Calvin Rose-2/+2
2021-03-09Update os.cJohn Gabriele-2/+2
Doc typo
2021-03-04Add group-by and partition-by to the core.Calvin Rose-0/+30
Semantics are mostly emulated from Clojure.
2021-02-28Merge branch 'master' of github.com:janet-lang/janetv1.15.3Calvin Rose-1/+1
2021-02-28Release 1.15.3Calvin Rose-4/+2
2021-02-28Fix call to match in run-contextMichael Camilleri-1/+1
2021-02-26Merge branch 'master' of github.com:janet-lang/janetCalvin Rose-9/+24
2021-02-26Address #641 - add undef combinator.Calvin Rose-4/+34
The (undef rule :tag) combinator lets a user "scope" tagged captures. After the rule has matched, all captures with tag :tag can no longer be refered to by their tag. However, such captures from outside rule are kept as is. If no tag is given, all tagged captures from rule are unreferenced. Note that this doesn't `drop` the captures, merely removes their association with the tag. This means subsequent calls to `backref` and `backmatch` will no longer "see" these tagged captures.
2021-02-26Merge pull request #642 from pyrmont/feature.run-context-locationCalvin Rose-3/+12
Allow source location in run-context to be updated
2021-02-23Update boot.janetJohn Gabriele-2/+2
2021-02-23Update boot.janetJohn Gabriele-2/+2
2021-02-23`sort` docJohn Gabriele-4/+10
Clarify doc for `sort` and `sorted`. Also in `sort`, changed arg name.
2021-02-22Check that new source location is a stringMichael Camilleri-1/+3
2021-02-22Allow source location in run-context to be updatedMichael Camilleri-3/+10
2021-02-20Fix #638 - update fiber status in certain cases.Calvin Rose-5/+6
This fixes a regression from changes to janet_try. In some cases, we would not update the status of a fiber when signaling, which left the fiber's status as whatever it had previously. This could lead to strange control flow issues.
2021-02-19Address #640.Calvin Rose-2/+2
Allow for a zero length match at the end of a string when using the to or thru combinators.
2021-02-16Update definition of `or`.Calvin Rose-2/+1
2021-02-16Fix or with zero arguments.Leah Neukirchen-1/+2
The value is nil to be consistent for and/or and all/some. Also add some tests for and/or.
2021-02-15Fix build error for 1.15.2v1.15.2Calvin Rose-4/+4
2021-02-15Prepare for 1.15.1 release.Calvin Rose-2/+2
2021-02-14Fix #636Calvin Rose-1/+0
2021-02-14Change behavior of empty env table passed to os/execute on windows.Calvin Rose-1/+0
2021-02-14Change os/execute implementation for windows.envblockCalvin Rose-37/+60
2021-02-09Version bump.Calvin Rose-4/+4
2021-02-10Tweak spec_readintsogaiu-1/+1
2021-02-08Get ready for 1.15.0 release.Calvin Rose-3/+3
2021-02-08Immediate instuctions will now call :compare method.Calvin Rose-4/+16
2021-02-08Define immediate comparison instructions for non-integers.Calvin Rose-4/+4
Previous, the instructions were defined only for values that fit into 32 bit integers for legacy reasons.
2021-02-05Merge pull request #628 from yumaikas/masterCalvin Rose-9/+9
Switch out `by` to `before?` in sort functions.
2021-02-05Improve error message from janet_call.Calvin Rose-1/+8
List expected arity in error messages.
2021-02-04x86 32 bit on windows.Calvin Rose-3/+7
2021-02-04Switch out `by` to `before?` in sort functions.Andrew Owen-9/+9
Makes docstrings easier to read, and reduces confusion with sorted-by and sort-by.
2021-02-04Update sort documentation.Calvin Rose-4/+4
2021-02-04Fix #625 - no fancy mixing in number hasingCalvin Rose-12/+4
Just hash upper 32 bits with lower 32 bits. Trying to get too fancy was causing slowdowns in very trivial cases. Assuming that all combinations of 64 bits in a double are equally likely (suspect but probably not that incorrect), the obvious method of xoring the top 32 bits with the lower 32 bits gives a uniform distribution.
2021-02-03Tweak module/add-paths docstringsogaiu-4/+4
2021-02-02Merge pull request #620 from sogaiu/marshal-docCalvin Rose-2/+2
Tweak marshal docstring
2021-02-02Fix parser/insert.Calvin Rose-3/+8
We need to add the tuple wrapping code there as well.