1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-23 15:00:27 +00:00

Release 1.15.3

This commit is contained in:
Calvin Rose 2021-02-28 13:02:45 -06:00
parent d3e52a2afb
commit 4fcc8075d4
5 changed files with 9 additions and 6 deletions

View File

@ -1,6 +1,11 @@
# Changelog # Changelog
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## 1.15.3 - 2021-02-28
- Fix a fiber bug that occured in deeply nested fibers
- Add `unref` combinator to pegs.
- Small docstring changes.
## 1.15.2 - 2021-02-15 ## 1.15.2 - 2021-02-15
- Fix bug in windows version of `os/spawn` and `os/execute` with setting environment variables. - Fix bug in windows version of `os/spawn` and `os/execute` with setting environment variables.
- Fix documentation typos. - Fix documentation typos.

View File

@ -20,7 +20,7 @@
project('janet', 'c', project('janet', 'c',
default_options : ['c_std=c99', 'b_lundef=false', 'default_library=both'], default_options : ['c_std=c99', 'b_lundef=false', 'default_library=both'],
version : '1.15.2') version : '1.15.3')
# Global settings # Global settings
janet_path = join_paths(get_option('prefix'), get_option('libdir'), 'janet') janet_path = join_paths(get_option('prefix'), get_option('libdir'), 'janet')

View File

@ -779,7 +779,6 @@
(defn sort (defn sort
``Sort `ind` in-place, and return it. Uses quick-sort and is not a stable sort. ``Sort `ind` in-place, and return it. Uses quick-sort and is not a stable sort.
If a `before?` comparator function is provided, sorts elements using that, If a `before?` comparator function is provided, sorts elements using that,
otherwise uses `<`.`` otherwise uses `<`.``
[ind &opt before?] [ind &opt before?]
@ -793,7 +792,6 @@
(defn sorted (defn sorted
``Returns a new sorted array without modifying the old one. ``Returns a new sorted array without modifying the old one.
If a `before?` comparator function is provided, sorts elements using that, If a `before?` comparator function is provided, sorts elements using that,
otherwise uses `<`.`` otherwise uses `<`.``
[ind &opt before?] [ind &opt before?]

View File

@ -5,9 +5,9 @@
#define JANET_VERSION_MAJOR 1 #define JANET_VERSION_MAJOR 1
#define JANET_VERSION_MINOR 15 #define JANET_VERSION_MINOR 15
#define JANET_VERSION_PATCH 2 #define JANET_VERSION_PATCH 3
#define JANET_VERSION_EXTRA "" #define JANET_VERSION_EXTRA ""
#define JANET_VERSION "1.15.2" #define JANET_VERSION "1.15.3"
/* #define JANET_BUILD "local" */ /* #define JANET_BUILD "local" */

View File

@ -485,7 +485,7 @@
(def grammar (def grammar
(peg/compile (peg/compile
~{:main (* :tagged -1) ~{:main (* :tagged -1)
:tagged (unref (replace (* :open-tag :value :close-tag) ,struct)) :tagged (unref (replace (* :open-tag :value :close-tag) ,struct))
:open-tag (* (constant :tag) "<" (capture :w+ :tag-name) ">") :open-tag (* (constant :tag) "<" (capture :w+ :tag-name) ">")
:value (* (constant :value) (group (any (+ :tagged :untagged)))) :value (* (constant :value) (group (any (+ :tagged :untagged))))
:close-tag (* "</" (backmatch :tag-name) ">") :close-tag (* "</" (backmatch :tag-name) ">")