Skip to content

Commit 01aab66

Browse files
committed
Prepare for 1.27.0 release.
1 parent aa5c987 commit 01aab66

File tree

5 files changed

+20
-22
lines changed

5 files changed

+20
-22
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4-
## ??? - Unreleased
4+
## 1.27.0 - 2023-03-05
55
- Change semantics around bracket tuples to no longer be equal to regular tuples.
66
- Add `index` argument to `ffi/write` for symmetry with `ffi/read`.
77
- Add `buffer/push-at`

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,9 @@ build/c/janet.c: build/janet_boot src/boot/boot.janet
176176
########################
177177

178178
ifeq ($(UNAME), Darwin)
179-
SONAME=libjanet.1.26.dylib
179+
SONAME=libjanet.1.27.dylib
180180
else
181-
SONAME=libjanet.so.1.26
181+
SONAME=libjanet.so.1.27
182182
endif
183183

184184
build/c/shell.c: src/mainclient/shell.c

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
project('janet', 'c',
2222
default_options : ['c_std=c99', 'build.c_std=c99', 'b_lundef=false', 'default_library=both'],
23-
version : '1.26.1')
23+
version : '1.27.0')
2424

2525
# Global settings
2626
janet_path = join_paths(get_option('prefix'), get_option('libdir'), 'janet')

src/boot/boot.janet

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -129,20 +129,18 @@
129129
# For macros, we define an imcomplete odd? function that will be overriden.
130130
(defn odd? [x] (= 1 (mod x 2)))
131131

132-
(def idempotent?
133-
```
134-
(idempotent? x)
135-
136-
Check if x is a value that evaluates to itself when compiled.
137-
```
138-
(do
139-
(def non-atomic-types
140-
{:array true
141-
:tuple true
142-
:table true
143-
:buffer true
144-
:struct true})
145-
(fn idempotent? [x] (not (in non-atomic-types (type x))))))
132+
(def- non-atomic-types
133+
{:array true
134+
:tuple true
135+
:table true
136+
:buffer true
137+
:symbol true
138+
:struct true})
139+
140+
(defn idempotent?
141+
"Check if x is a value that evaluates to itself when compiled."
142+
[x]
143+
(not (in non-atomic-types (type x))))
146144

147145
# C style macros and functions for imperative sugar. No bitwise though.
148146
(defn inc "Returns x + 1." [x] (+ x 1))

src/conf/janetconf.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
#define JANETCONF_H
55

66
#define JANET_VERSION_MAJOR 1
7-
#define JANET_VERSION_MINOR 26
8-
#define JANET_VERSION_PATCH 1
9-
#define JANET_VERSION_EXTRA "-dev"
10-
#define JANET_VERSION "1.26.1-dev"
7+
#define JANET_VERSION_MINOR 27
8+
#define JANET_VERSION_PATCH 0
9+
#define JANET_VERSION_EXTRA ""
10+
#define JANET_VERSION "1.27.0"
1111

1212
/* #define JANET_BUILD "local" */
1313

0 commit comments

Comments
 (0)