Skip to content

Commit

Permalink
v0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoejp committed Sep 13, 2023
1 parent bb54fb8 commit ec47e9a
Show file tree
Hide file tree
Showing 57 changed files with 393 additions and 947 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ jobs:
# with:
# node-version: '14'
# - run: cd ./stdlib/ && ../lux.sh with js with bibliotheca test
test_stdlib_on_python_3:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./.github/workflows/setup_aedifex
# https://github.com/actions/setup-python
- uses: actions/setup-python@v2
with:
python-version: '3.9'
architecture: 'x64'
- run: cd ./stdlib/ && ../lux.sh with python with bibliotheca test
# test_stdlib_on_python_3:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: ./.github/workflows/setup_aedifex
# # https://github.com/actions/setup-python
# - uses: actions/setup-python@v2
# with:
# python-version: '3.9'
# architecture: 'x64'
# - run: cd ./stdlib/ && ../lux.sh with python with bibliotheca test
# Temporarily disabled because of strange compiler bug that manifests when trying to run tests.
# test_stdlib_on_ruby:
# runs-on: ubuntu-latest
Expand Down
42 changes: 42 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,48 @@
### Deprecated
### Security

## [0.8.0]
### Added
* Logic programming.
* Dynamic delimited continuation operators.
* Conditions system.
* Object-oriented programming.
* Dynamic-binding and subject-oriented programming.
* Simple benchmarking machinery.
* Saturation arithmetic.
* Generic logging abstraction/machinery.
* Inline testing.
* Aspect-oriented programming.
* Context-oriented programming.
* Row polymorphism.
* Predicate-based polymorphism.
* Behavioral programming.
* Type-based multiple dispatch.
* Structured concurrency.
* Function trampolines.
* Agent model.
* Support for time-zones.
* Incremental computation.
* Functions with named parameters.
* Communicating Sequential Processes (CSP).
* Variadic functions.
* Event-loop concurrency.
### Changed
* Simplified polytypic programming.
* Re-licensed to MPL 2.0.
* Added source-tracking annotations when compiling for the JVM.
* Now doing implicit definition aliasing, instead of requiring explicit aliasing.
* New syntax for compiler extensions.
* Made labels (tags & slots) into normal definitions.
* Made the compiler's caching system sensitive to the build configuration.
### Removed
* Leiningen plugin.
* Bootstrapping compiler.
* Custom licensing machinery.
### Fixed
### Deprecated
### Security

## [0.7.0]
### Added
* Inlined functions.
Expand Down
4 changes: 4 additions & 0 deletions documentation/bookmark/code/semantics.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Reference

0. [Awesome Macros That Do Nothing - Louis Thomas - CppCon 2019](https://www.youtube.com/watch?v=8Aq10NCdj44)

2 changes: 1 addition & 1 deletion documentation/bookmark/floating_point.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@

# Format

0. []()
0. [decimal128 floating-point format](https://en.wikipedia.org/wiki/Decimal128_floating-point_format)

# Reference

0. [Stephan T. Lavavej “Floating-Point <charconv>: Making Your Code 10x Faster With C++17's Final Boss”](https://www.youtube.com/watch?v=4P_kbF0EbZM)
0. [Arbitrary-Precision Floating-Point Library](https://crates.io/crates/arpfloat)
0. [How Java’s Floating-Point Hurts Everyone Everywhere](https://people.eecs.berkeley.edu/~wkahan/JAVAhurt.pdf)
0. [What aspect of portable floating point did Java back down on?](https://retrocomputing.stackexchange.com/questions/18143/what-aspect-of-portable-floating-point-did-java-back-down-on)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Reference

0. [John Bandela “Polymorphism != Virtual: Easy, Flexible Runtime Polymorphism Without Inheritance”](https://www.youtube.com/watch?v=PSxo85L2lC0)

2 changes: 2 additions & 0 deletions documentation/bookmark/memory_management/move.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Reference

0. [Back to Basics: Move Semantics (part 1 of 2) - Klaus Iglberger - CppCon 2019](https://www.youtube.com/watch?v=St0MNEU5b0o)
0. [Back to Basics: Move Semantics (part 2 of 2) - Klaus Iglberger - CppCon 2019](https://www.youtube.com/watch?v=pIzaZbKUw2s)
0. [The Hidden Secrets of Move Semantics - Nicolai Josuttis - CppCon 2020](https://www.youtube.com/watch?v=TFMKjL38xAI)
0. [Lightning Talk: find-move-candidates in Cpp - Chris Cotter - CppCon 2022](https://www.youtube.com/watch?v=F8wbpi2kTmY)

1 change: 1 addition & 0 deletions documentation/bookmark/type_theory/unit.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Reference

0. [A C++ Approach to Physical Units - Mateusz Pusz - CppCon 2019](https://www.youtube.com/watch?v=0YW6yxkdhlU)
0. [uom: Units of measurement -- type-safe zero-cost dimensional analysis](https://github.com/iliekturtles/uom)
0. [Dimensional analysis](https://en.wikipedia.org/wiki/Dimensional_analysis)
0. [mp-units - A Units Library for C++](https://github.com/mpusz/units)
Expand Down
2 changes: 1 addition & 1 deletion lux-js/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ cd ~/lux/lux-js/ && mvn deploy:deploy-file \

```
LUX_PROJECT=lux-js && \
LUX_VERSION=0.7.0 && \
LUX_VERSION=0.8.0 && \
cd ~/lux/$LUX_PROJECT/ && \
lux pom && \
mv pom.xml RELEASE/$LUX_PROJECT-$LUX_VERSION.pom && \
Expand Down
8 changes: 4 additions & 4 deletions lux-js/project.lux
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
... If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.

[""
["identity" ["com.github.luxlang" "lux-js" "0.8.0-SNAPSHOT"]
["identity" ["com.github.luxlang" "lux-js" "0.8.0"]
"info" ["description" "A JavaScript compiler for Lux."
"url" "https://github.com/LuxLang/lux"
"scm" "https://github.com/LuxLang/lux.git"
Expand All @@ -18,15 +18,15 @@
"repositories" ["https://oss.sonatype.org/content/repositories/snapshots/"
"https://oss.sonatype.org/service/local/staging/deploy/maven2/"]

"dependencies" [... ["com.github.luxlang" "stdlib" "0.8.0-SNAPSHOT" "tar"]
"dependencies" [... ["com.github.luxlang" "stdlib" "0.8.0" "tar"]
]

"program" program._]

"js"
["lux" ["com.github.luxlang" "lux-js" "0.8.0-SNAPSHOT" "js"]]
["lux" ["com.github.luxlang" "lux-js" "0.8.0" "js"]]

"jvm"
["lux" ["com.github.luxlang" "lux-jvm" "0.8.0-SNAPSHOT" "jar"]
["lux" ["com.github.luxlang" "lux-jvm" "0.8.0" "jar"]
"dependencies" [["com.github.luxlang" "lux-jvm-function" "0.6.5" "jar"]
["org.openjdk.nashorn" "nashorn-core" "15.1" "jar"]]]]
2 changes: 1 addition & 1 deletion lux-jvm/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ cd ~/lux/lux-jvm/ && mvn deploy:deploy-file \
# Release

```
LUX_VERSION=0.7.0 && \
LUX_VERSION=0.8.0 && \
cd ~/lux/lux-jvm/ && \
lein pom && \
mv pom.xml RELEASE/lux-jvm-$LUX_VERSION.pom && \
Expand Down
12 changes: 4 additions & 8 deletions lux-jvm/project.clj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
;; This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
;; If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.

(def version "0.8.0-SNAPSHOT")
(def version "0.8.0")
(def repo "https://github.com/LuxLang/lux")
(def sonatype "https://oss.sonatype.org")
(def sonatype-releases (str sonatype "/service/local/staging/deploy/maven2/"))
Expand All @@ -10,9 +10,8 @@
(defproject com.github.luxlang/lux-jvm #=(identity version)
:description "A JVM compiler for Lux."
:url ~repo
:license {:name "Lux License v0.1.2"
:url ~(str repo "/blob/master/license.txt")}
:plugins [[com.github.luxlang/lein-luxc ~version]]
:license {:name "Mozilla Public License Version 2.0"
:url ~(str repo "/blob/master/license.md")}
:deploy-repositories [["releases" {:url ~sonatype-releases :creds :gpg}]
["snapshots" {:url ~sonatype-snapshots :creds :gpg}]]
:pom-addition [:developers [:developer
Expand All @@ -22,13 +21,10 @@
:scm {:name "git"
:url ~(str repo ".git")}

:dependencies [[com.github.luxlang/lux-bootstrapper ~version]
[com.github.luxlang/lux-jvm-function "0.6.5"]
:dependencies [[com.github.luxlang/lux-jvm-function "0.6.5"]
;; [com.github.luxlang/stdlib ~version]
]

:manifest {"lux" ~version}
:source-paths ["source"]
:lux {:program ["program" "_"]
:test ["test/program" "_"]}
)
31 changes: 0 additions & 31 deletions lux-lein/README.md

This file was deleted.

23 changes: 0 additions & 23 deletions lux-lein/commands.md

This file was deleted.

22 changes: 0 additions & 22 deletions lux-lein/project.clj

This file was deleted.

21 changes: 0 additions & 21 deletions lux-lein/src/leiningen/lux.clj

This file was deleted.

18 changes: 0 additions & 18 deletions lux-lein/src/leiningen/lux/builder.clj

This file was deleted.

Loading

0 comments on commit ec47e9a

Please sign in to comment.