From b4af4b04efd54fcb9e6bf6ea573349f5e5257c1a Mon Sep 17 00:00:00 2001 From: ARATA Mizuki Date: Tue, 12 Nov 2024 09:38:45 +0900 Subject: [PATCH] Version 0.2.1 --- CHANGELOG.md | 6 ++++++ README.md | 4 ++-- docs/intro.rst | 4 ++-- docs/library.rst | 2 ++ package/npm/package.json | 2 +- src/version.sml | 2 +- version.mk | 2 +- 7 files changed, 15 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ff7c136..12ff7f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## Version 0.2.1 (2024-11-12) + +* `OS.Path` now supports UNC paths on Windows +* Code generators now emit nested expressions +* `Time`: Change time epoch to avoid an issue on Windows + ## Version 0.2.0 (2024-08-06) * More work on IO: `PrimIO`/`ImperativeIO`/`TextIO.StreamIO`/`BinIO.StreamIO` diff --git a/README.md b/README.md index 69d3e24..f77a373 100644 --- a/README.md +++ b/README.md @@ -61,8 +61,8 @@ $ lunarml compile example/hello.sml Alternatively, you can use Docker to build and run LunarML. ```sh-session -$ docker build --platform linux/amd64 -f package/docker/Dockerfile -t lunarml:0.2.0 . -$ docker run --rm -v "$(pwd)":/work -w /work --platform linux/amd64 lunarml:0.2.0 lunarml compile example/hello.sml +$ docker build --platform linux/amd64 -f package/docker/Dockerfile -t lunarml:0.2.1 . +$ docker run --rm -v "$(pwd)":/work -w /work --platform linux/amd64 lunarml:0.2.1 lunarml compile example/hello.sml $ lua example/hello.lua Hello world! ``` diff --git a/docs/intro.rst b/docs/intro.rst index 249922b..76856c0 100644 --- a/docs/intro.rst +++ b/docs/intro.rst @@ -70,7 +70,7 @@ You can install the built binary with ``make install``:: Alternatively, you can use Docker to build and run LunarML:: - $ docker build --platform linux/amd64 -f package/docker/Dockerfile -t lunarml:0.1.0 . - $ docker run --rm -v "$(pwd)":/work -w /work --platform linux/amd64 lunarml:0.1.0 lunarml compile example/hello.sml + $ docker build --platform linux/amd64 -f package/docker/Dockerfile -t lunarml:0.2.1 . + $ docker run --rm -v "$(pwd)":/work -w /work --platform linux/amd64 lunarml:0.2.1 lunarml compile example/hello.sml $ lua example/hello.lua Hello world! diff --git a/docs/library.rst b/docs/library.rst index be3f3f5..038e301 100644 --- a/docs/library.rst +++ b/docs/library.rst @@ -1369,6 +1369,8 @@ structure OS.Path end structure OS.Path : OS_PATH +On Windows, UNC paths are supported. + structure CommandLine ^^^^^^^^^^^^^^^^^^^^^ diff --git a/package/npm/package.json b/package/npm/package.json index 892308f..947ff7f 100644 --- a/package/npm/package.json +++ b/package/npm/package.json @@ -1,6 +1,6 @@ { "name": "lunarml", - "version": "0.2.0", + "version": "0.2.1", "description": "", "main": "lunarml.mjs", "bin": { "lunarml": "bin/lunarml" }, diff --git a/src/version.sml b/src/version.sml index 363702b..e0fcbd0 100644 --- a/src/version.sml +++ b/src/version.sml @@ -1,5 +1,5 @@ (* -*- mode: sml; mode: read-only -*- *) (* This file was generated by set-version.sh *) structure LunarMLVersion = struct - val version = "0.2.0" + val version = "0.2.1" end; diff --git a/version.mk b/version.mk index 2c18382..a3bfa31 100644 --- a/version.mk +++ b/version.mk @@ -1 +1 @@ -VERSION = 0.2.0 +VERSION = 0.2.1