Skip to content

Commit cd32d1e

Browse files
committed
Finalize release 2.2.0.
1 parent 0cf2f6c commit cd32d1e

File tree

6 files changed

+35
-9
lines changed

6 files changed

+35
-9
lines changed

CHANGELOG.md

+24
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# Changelog
22

3+
## 2.2.0 (2022-02-06)
4+
5+
- Multi-threaded evaluator, executing multiple virtual machines in parallel
6+
- Go-inspired channels for synchronizing threads
7+
- Revamp of math libraries, addressing incompatibilities and fixing numerous bugs:
8+
- Don't crash on division by zero for `fx/`
9+
- Fix bug making `exact` work also for negative numbers
10+
- Improved `inexact` when used with rationals with a very large numerator or denominator
11+
- Consistent interface for: `random`, `flrandom`, and `fxrandom`
12+
- Support unary argument usage for `fx-`, `fl-`, and `fl/`
13+
- Removed `fixnum-width`, `least-fixnum` and `greatest-fixnum`
14+
- New procedures `make-flonum`, `flexponent`, `flsignificand`, `flnext`, `flprev`, `fx-width`, `fx-greatest`, `fx-least`, `fl-epsilon`, `fl-greatest`, and `fl-least`
15+
- Support many arguments for `flmin`, `flmax`, `fxmin`, `fxmax`, `fx+`, `fx-`, `fx*`, `fx/`, `fx=`, `fx<`, `fx>`, `fx<=`, `fx>=`, `fl+`, `fl-`, `fl*`, `fl/`, `fl=`, `fl<`, `fl>`, `fl<=`, and `fl>=`
16+
- New procedures in library `(lispkit math util)`: `make-nan`, `nan-negative?`, `nan-quiet?`, `nan-payload`, and `nan=?`
17+
- New procedures in library `(lispkit system)`: `physical-memory`, `memory-footprint`, and `system-uptime`
18+
- New procedure in library `(lispkit port)`: `display*`
19+
- New procedures in library `(lispkit debug)`: `stack-size`, `call-stack-procedures`, `call-stack-trace`, and `set-max-call-stack!`
20+
- Enabled concurrency support for library `(srfi sicp)`
21+
- Included new libraries: `(lispkit thread)`, `(lispkit thread channel)`, `(scheme flonum)`, `(srfi 18)`, `(srfi 144)`, `(srfi 208)`, `(srfi 230)`
22+
- Fixed scope of `<sym>` in `(let <sym> ...)` form, making it not accessible in the bindings
23+
- Exceptions now include more information about the active call stack
24+
- Included tutorial for channels as new example code
25+
- Support comments in command-line input
26+
327
## 2.1.0 (2021-12-11)
428

529
- Fixed bug compiling every procedure twice

LispKit.xcodeproj/project.pbxproj

+6-4
Original file line numberDiff line numberDiff line change
@@ -4607,7 +4607,7 @@
46074607
"@executable_path/../Frameworks",
46084608
"@loader_path/Frameworks",
46094609
);
4610-
MARKETING_VERSION = 2.1.0;
4610+
MARKETING_VERSION = 2.2.0;
46114611
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
46124612
MTL_FAST_MATH = YES;
46134613
PRODUCT_BUNDLE_IDENTIFIER = net.objecthub.LispKitTools;
@@ -4643,7 +4643,7 @@
46434643
"@executable_path/../Frameworks",
46444644
"@loader_path/Frameworks",
46454645
);
4646-
MARKETING_VERSION = 2.1.0;
4646+
MARKETING_VERSION = 2.2.0;
46474647
MTL_FAST_MATH = YES;
46484648
PRODUCT_BUNDLE_IDENTIFIER = net.objecthub.LispKitTools;
46494649
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
@@ -4791,6 +4791,7 @@
47914791
"@executable_path/../Frameworks",
47924792
"@loader_path/Frameworks",
47934793
);
4794+
MARKETING_VERSION = 2.2.0;
47944795
"OTHER_SWIFT_FLAGS[arch=*]" = "-D DEBUG";
47954796
PRODUCT_BUNDLE_IDENTIFIER = net.objecthub.LispKit;
47964797
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -4820,6 +4821,7 @@
48204821
"@executable_path/../Frameworks",
48214822
"@loader_path/Frameworks",
48224823
);
4824+
MARKETING_VERSION = 2.2.0;
48234825
PRODUCT_BUNDLE_IDENTIFIER = net.objecthub.LispKit;
48244826
PRODUCT_NAME = "$(TARGET_NAME)";
48254827
SKIP_INSTALL = YES;
@@ -4889,7 +4891,7 @@
48894891
"@executable_path/Frameworks",
48904892
"@loader_path/Frameworks",
48914893
);
4892-
MARKETING_VERSION = 2.1.0;
4894+
MARKETING_VERSION = 2.2.0;
48934895
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
48944896
MTL_FAST_MATH = YES;
48954897
PRODUCT_BUNDLE_IDENTIFIER = net.objecthub.LispKit;
@@ -4929,7 +4931,7 @@
49294931
"@executable_path/Frameworks",
49304932
"@loader_path/Frameworks",
49314933
);
4932-
MARKETING_VERSION = 2.1.0;
4934+
MARKETING_VERSION = 2.2.0;
49334935
MTL_FAST_MATH = YES;
49344936
PRODUCT_BUNDLE_IDENTIFIER = net.objecthub.LispKit;
49354937
PRODUCT_NAME = LispKit;

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ _LispKit_ provides support for the following core features, many of which are ba
9898
[`(lispkit enum)`](https://github.com/objecthub/swift-lispkit/wiki/LispKit-Enum),
9999
[`(lispkit regexp)`](https://github.com/objecthub/swift-lispkit/wiki/LispKit-Regexp),
100100
[`(lispkit stream)`](https://github.com/objecthub/swift-lispkit/wiki/LispKit-Stream),
101-
`(lispkit thread)`,
102-
`(lispkit thread channels)`,
101+
[`(lispkit thread)`](https://github.com/objecthub/swift-lispkit/wiki/LispKit-Thread),
102+
[`(lispkit thread channel)`](https://github.com/objecthub/swift-lispkit/wiki/LispKit-Thread-Channel),
103103
`(lispkit graph)`,
104104
[`(lispkit match)`](https://github.com/objecthub/swift-lispkit/wiki/LispKit-Match),
105105
[`(lispkit iterate)`](https://github.com/objecthub/swift-lispkit/wiki/LispKit-Iterate),

Sources/LispKit/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<key>CFBundlePackageType</key>
1818
<string>FMWK</string>
1919
<key>CFBundleShortVersionString</key>
20-
<string>2.1.0</string>
20+
<string>$(MARKETING_VERSION)</string>
2121
<key>CFBundleSignature</key>
2222
<string>????</string>
2323
<key>CFBundleVersion</key>

Sources/LispKitRepl/main.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ guard repl.flagsValid() else {
3636
if repl.shouldRunRepl() {
3737
#if SPM
3838
guard repl.configurationSuccessfull(implementationName: "LispKit",
39-
implementationVersion: "2.1.0",
39+
implementationVersion: "2.2.0",
4040
includeInternalResources: false,
4141
defaultDocDirectory: "LispKit",
4242
features: features) else {

Tests/LispKitTests/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.1.0</string>
18+
<string>2.2.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

0 commit comments

Comments
 (0)