aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Julian2021-10-01 02:59:09 -0400
committerEduardo Julian2021-10-01 02:59:09 -0400
commit628356261aa9539b4f438ffd369a2638dc9506bd (patch)
tree917b4118194d14b4d5fe5efc93091977d4caebdf
parent8196ab379495ab00c11b74b55b6f2fabd99ab351 (diff)
Commercial licensing option for Lux + release versions for sub-projects.
Diffstat (limited to '')
-rw-r--r--PATRON_LICENSE.md63
-rw-r--r--README.md72
-rw-r--r--commands.md9
-rw-r--r--documentation/bookmark/back_end/Godot.md (renamed from documentation/bookmark/back-end/Godot.md)0
-rw-r--r--documentation/bookmark/back_end/JavaScript.md (renamed from documentation/bookmark/back-end/JavaScript.md)0
-rw-r--r--documentation/bookmark/back_end/Python.md (renamed from documentation/bookmark/back-end/Python.md)0
-rw-r--r--documentation/bookmark/back_end/haskell.md (renamed from documentation/bookmark/back-end/haskell.md)0
-rw-r--r--documentation/bookmark/back_end/native.md (renamed from documentation/bookmark/back-end/native.md)0
-rw-r--r--documentation/bookmark/back_end/wasm.md (renamed from documentation/bookmark/back-end/wasm.md)1
-rw-r--r--documentation/bookmark/computation.md4
-rw-r--r--documentation/bookmark/documentation.md3
-rw-r--r--documentation/bookmark/tool/text_editor.md1
-rw-r--r--lux-bootstrapper/project.clj7
-rw-r--r--lux-js/project.clj5
-rw-r--r--lux-js/project.lux6
-rw-r--r--lux-jvm/project.clj5
-rw-r--r--lux-lein/project.clj2
-rw-r--r--lux-lua/project.clj5
-rw-r--r--lux-lua/project.lux6
-rw-r--r--lux-python/project.clj5
-rw-r--r--lux-python/project.lux6
-rw-r--r--lux-python/source/program.lux4
-rw-r--r--lux-ruby/project.clj2
-rw-r--r--lux-ruby/project.lux6
-rw-r--r--stdlib/project.clj10
-rw-r--r--stdlib/project.lux12
26 files changed, 145 insertions, 89 deletions
diff --git a/PATRON_LICENSE.md b/PATRON_LICENSE.md
new file mode 100644
index 000000000..54bbc71c9
--- /dev/null
+++ b/PATRON_LICENSE.md
@@ -0,0 +1,63 @@
+# Patron License
+
+Payment Platforms:
+
+* https://www.patreon.com/lux_programming_language
+
+Participating Contributors:
+
+* Eduardo Julian - https://github.com/eduardoejp
+
+## Purpose
+
+This license gives everyone patronizing contributors to this software permission to ignore any noncommercial or copyleft rules of its free public license, while continuing to protect contributors from liability.
+
+## Acceptance
+
+In order to agree to these terms and receive a license, you must qualify under [Patrons](#patrons). The rules of these terms are both obligations under your agreement and conditions to your license. That agreement and your license continue only while you qualify as a patron. You must not do anything with this software that triggers a rule that you cannot or will not follow.
+
+## Patrons
+
+To accept these terms, you must be enrolled to make regular payments through any of the payment platforms pages listed above, in amounts qualifying you for a tier that includes a "patron license" or otherwise identifies a license under these terms as a reward.
+
+## Scope
+
+Except under [Seat](#seat) and [Applications](#applications), you may not sublicense or transfer any agreement or license under these terms to anyone else.
+
+## Seat
+
+If a legal entity, rather than an individual, accepts these terms, the entity may sublicense one individual employee or independent contractor at any given time. If the employee or contractor breaks any rule of these terms, the entity will stand directly responsible.
+
+## Applications
+
+If you combine this software with other software in a larger application, you may sublicense this software as part of your larger application, and allow further sublicensing in turn, under these rules:
+
+1. Your larger application must have significant additional content or functionality beyond that of this software, and end users must license your larger application primarily for that added content or functionality.
+
+2. You may not sublicense anyone to break any rule of the public license for this software for any changes of their own or any software besides your larger application.
+
+3. You may build, and sublicense for, as many larger applications as you like.
+
+## Copyright
+
+Each contributor licenses you to do everything with this software that would otherwise infringe that contributor's copyright in it.
+
+## Notices
+
+You must ensure that everyone who gets a copy of any part of this software from you, with or without changes, also gets the texts of both this license and the free public license for this software.
+
+## Excuse
+
+If anyone notifies you in writing that you have not complied with [Notices](#notices), you can keep your agreement and your license by taking all practical steps to comply within 30 days after the notice. If you do not do so, your agreement under these terms ends immediately, and your license ends with it.
+
+## Patent
+
+Each contributor licenses you to do everything with this software that would otherwise infringe any patent claims they can license or become able to license.
+
+## Reliability
+
+No contributor can revoke this license, but your license may end if you break any rule of these terms.
+
+## No Liability
+
+***As far as the law allows, this software comes as is, without any warranty or condition, and no contributor will be liable to anyone for any damages related to this software or this license, under any kind of legal claim.***
diff --git a/README.md b/README.md
index 9eb92256f..4439badf0 100644
--- a/README.md
+++ b/README.md
@@ -2,11 +2,11 @@
Lux is a new programming language in the making.
-It's meant to be a functional, statically-typed Lisp that will run on several platforms, such as the Java Virtual Machine and JavaScript interpreters.
+It's meant to be a functional, statically-typed Lisp that will run on several platforms, such as the Java Virtual Machine and JavaScript, Python, Lua, or Ruby interpreters.
### What's the current version?
-0.5.0
+0.6.0
### How far ahead is the project?
@@ -14,28 +14,7 @@ Lux is in the **beta** stage.
The JVM compiler is pretty stable and the standard library has grown to a respectable size.
-Also, new experimental support for Android has been added.
-
-### How can I use it?
-
-You should use the Leiningen plugin for Lux to compile your programs and manage your dependencies.
-
-You can find it here: https://github.com/LuxLang/lux/tree/master/lux-lein
-
-After compiling your program, this will generate a directory named "target" and put all the .class files there.
-
-Then, you can run the program like this:
-
- java -jar target/jvm/program.jar
-
-### Sample
-
-To take a look at sample Lux projects, check these repositories:
-
-* https://github.com/LuxLang/tutorial1
-* https://github.com/LuxLang/lux/tree/master/luxdoc
-
-The `luxdoc` program was actually used to generate the documentation for the standard library (located here: https://luxlang.github.io/lux/)
+Also, new experimental support for JavaScript, Python, Lua, and Ruby has been added.
### What's the license?
@@ -43,6 +22,10 @@ The `luxdoc` program was actually used to generate the documentation for the sta
Read carefully before using this project, as the license disallows commercial use, and has other conditions which may be undesirable for some.
+However, commercial use is allowed for patrons under the terms of the [Patron License](PATRON_LICENSE.md).
+
+You can become a patron by supporting Lux through [Patreon](https://www.patreon.com/lux_programming_language).
+
## What's interesting about the language?
### Inspirations
@@ -83,7 +66,7 @@ Additionally, by hosting the module system on top of records, which are regular
You can also write functions that take and return structures (as _functors_ do in ML), and you can generate structures on the fly.
-> Also, Lux now offers a mechanism for easy polymorphism, just like Haskell's type-classes, but built upon it's module system, thanks to the `lux/type/auto` module and its `:::` macro.
+> Also, Lux now offers a mechanism for easy polymorphism, just like Haskell's type-classes, but built upon it's module system, thanks to the `library/lux/type/auto` module and its `##` macro.
> You can learn more about that by reading the book and the documentation.
@@ -95,7 +78,7 @@ Functions are curried and partial application is as simple as just applying a fu
e.g.
- (map (i.+ 1) (list 1 2 3 4 5))
+ (map (n.+ 1) (list 1 2 3 4 5))
### Macros
@@ -116,35 +99,36 @@ Custom pattern-matching basically means that you can use macros to provide custo
For instance, the **list** and **list&** macros are used to build lists.
But you can also use them to destructure lists inside pattern-matching:
- (case (: (List Int) (list 1 2 3))
- (#Cons x (#Cons y (#Cons z #Nil)))
- (#Some ($_ i.* x y z))
+ (case (: (List Nat) (list 1 2 3))
+ {#Item x {#Item y {#Item z {#End}}}}
+ {#Some ($_ n.* x y z)}
_
- #None)
+ {#None})
- (case (: (List Int) (list 1 2 3))
+ (case (: (List Nat) (list 1 2 3))
(^ (list x y z))
- (#Some ($_ i.* x y z))
+ {#Some ($_ n.* x y z)}
_
- #None)
+ {#None})
There is also the special **^or** macro, which introduces *or patterns*:
(type: Weekday
- #Monday
- #Tuesday
- #Wednesday
- #Thursday
- #Friday
- #Saturday
- #Sunday))
+ (Variant
+ {#Monday}
+ {#Tuesday}
+ {#Wednesday}
+ {#Thursday}
+ {#Friday}
+ {#Saturday}
+ {#Sunday})))
(def: (weekend? day)
- (-> Weekday Bool)
+ (-> Weekday Bit)
(case day
- (^or #Saturday #Sunday)
+ (^or {#Saturday} {#Sunday})
true
_
@@ -164,11 +148,11 @@ Check out the Emacs plugin for it: https://github.com/LuxLang/lux/tree/master/lu
### Where do I learn Lux?
-The main resource is the book: https://luxlang.gitbooks.io/the-lux-programming-language/content/
+The main resource is [the book](documentation/book/the_lux_programming_language/index.md).
It will always be up-to-date with the latest stable version of the language.
-Also, you can check out the documentation for the currently available modules: https://luxlang.github.io/lux/
+Also, you can check out [the documentation for the currently available modules](documentation/library/standard/jvm.md).
### How can I contribute?
diff --git a/commands.md b/commands.md
index 4c23f7c00..0f8ae0b5a 100644
--- a/commands.md
+++ b/commands.md
@@ -45,3 +45,12 @@ cd ~/lux/lux-lein/ \
&& lein install
```
+---
+
+[Patron License](https://github.com/licensezero/patron-license)
+
+[Deploy Clojure Projects to Maven Central with Leiningen](https://kpow.io/how-to/deploy-clojure-projects-to-maven-central/)
+[How to Generate PGP Signatures with Maven](https://blog.sonatype.com/2010/01/how-to-generate-pgp-signatures-with-maven/)
+https://central.sonatype.org/publish/requirements/gpg/
+https://github.com/technomancy/leiningen/blob/master/doc/DEPLOY.md
+
diff --git a/documentation/bookmark/back-end/Godot.md b/documentation/bookmark/back_end/Godot.md
index 354e87e96..354e87e96 100644
--- a/documentation/bookmark/back-end/Godot.md
+++ b/documentation/bookmark/back_end/Godot.md
diff --git a/documentation/bookmark/back-end/JavaScript.md b/documentation/bookmark/back_end/JavaScript.md
index f3c57b57f..f3c57b57f 100644
--- a/documentation/bookmark/back-end/JavaScript.md
+++ b/documentation/bookmark/back_end/JavaScript.md
diff --git a/documentation/bookmark/back-end/Python.md b/documentation/bookmark/back_end/Python.md
index 5a3266107..5a3266107 100644
--- a/documentation/bookmark/back-end/Python.md
+++ b/documentation/bookmark/back_end/Python.md
diff --git a/documentation/bookmark/back-end/haskell.md b/documentation/bookmark/back_end/haskell.md
index aa77d723f..aa77d723f 100644
--- a/documentation/bookmark/back-end/haskell.md
+++ b/documentation/bookmark/back_end/haskell.md
diff --git a/documentation/bookmark/back-end/native.md b/documentation/bookmark/back_end/native.md
index 32da388c9..32da388c9 100644
--- a/documentation/bookmark/back-end/native.md
+++ b/documentation/bookmark/back_end/native.md
diff --git a/documentation/bookmark/back-end/wasm.md b/documentation/bookmark/back_end/wasm.md
index 9cca5b8a9..ba278fb2f 100644
--- a/documentation/bookmark/back-end/wasm.md
+++ b/documentation/bookmark/back_end/wasm.md
@@ -12,6 +12,7 @@
# Reference
+1. [Wasm needs a better memory management story](https://github.com/WebAssembly/design/issues/1397)
1. https://bytecodealliance.org/
1. [Faster Fractals with Multi-Threaded WebAssembly](https://blog.scottlogic.com/2019/07/15/multithreaded-webassembly.html)
1. https://blog.scottlogic.com/2018/07/20/wasm-future.html
diff --git a/documentation/bookmark/computation.md b/documentation/bookmark/computation.md
index 526db5e9f..59186b29b 100644
--- a/documentation/bookmark/computation.md
+++ b/documentation/bookmark/computation.md
@@ -1,3 +1,7 @@
+# Dynamic binding
+
+1. [Programming with Implicit Values, Functions, and Control (or, Implicit Functions: Dynamic Binding with Lexical Scoping)](https://www.microsoft.com/en-us/research/publication/programming-with-implicit-values-functions-and-control-or-implicit-functions-dynamic-binding-with-lexical-scoping/)
+
# Construct
1. [Fundamental Constructs in Programming Languages](https://arxiv.org/abs/2107.10545)
diff --git a/documentation/bookmark/documentation.md b/documentation/bookmark/documentation.md
index 44f79fb5f..b57f38630 100644
--- a/documentation/bookmark/documentation.md
+++ b/documentation/bookmark/documentation.md
@@ -55,7 +55,7 @@
1. [Architecture decision record (ADR)](https://github.com/joelparkerhenderson/architecture_decision_record)
1. [Seamless API Specification](https://github.com/seamlessapis/seamless/tree/master/domain)
-1. https://docs.racket-lang.org/pollen/
+1. [Pollen: the book is a program](https://docs.racket-lang.org/pollen/)
1. [Documenting the Clojure/Script Ecosystem – Martin Klepsch](https://www.youtube.com/watch?v=mWrvd6SE7Vg)
1. http://apistylebook.com/
1. https://docusaurus.io/
@@ -70,7 +70,6 @@
1. https://groups.google.com/forum/#!msg/scala-internals/r2GnzCFc3TY/x3PmIq4cAgAJ
1. http://naildrivin5.com/blog/2016/12/08/learn-graphviz-and-up-your-diagramming-game.html
1. https://idyll-lang.github.io/
-1. http://docs.racket-lang.org/pollen/
1. https://opensource.com/article/17/9/modular-documentation
1. https://clojurecademy.github.io/dsl-documentation/#
1. https://www.asyncapi.com/
diff --git a/documentation/bookmark/tool/text_editor.md b/documentation/bookmark/tool/text_editor.md
index 49ad18126..a3f7dcbee 100644
--- a/documentation/bookmark/tool/text_editor.md
+++ b/documentation/bookmark/tool/text_editor.md
@@ -222,6 +222,7 @@
## Structured editing
+1. [Leo](https://www.leoeditor.com/)
1. [Inspiring a future Clojure editor with forgotten Lisp UX - Shaun Lebron](https://www.youtube.com/watch?v=K0Tsa3smr1w)
1. [Dion Systems - The How And Why Of Reinventing The Wheel](https://vimeo.com/485177664)
1. [Towards Tactic Metaprogramming in Haskell](https://reasonablypolymorphic.com/blog/towards-tactics/index.html)
diff --git a/lux-bootstrapper/project.clj b/lux-bootstrapper/project.clj
index 55d62ac48..ba42e7c05 100644
--- a/lux-bootstrapper/project.clj
+++ b/lux-bootstrapper/project.clj
@@ -1,6 +1,6 @@
-(defproject com.github.luxlang/lux-bootstrapper "0.6.0-SNAPSHOT"
+(defproject com.github.luxlang/lux-bootstrapper "0.6.0"
:min-lein-version "2.1.0" ;; 2.1.0 introduced jar classifiers
- :description "The JVM compiler for the Lux programming language."
+ :description "The JVM (bootstrapping) compiler for the Lux programming language."
:url "https://github.com/LuxLang/lux"
:license {:name "Lux License v0.1.1"
:url "https://github.com/LuxLang/lux/blob/master/license.txt"}
@@ -24,8 +24,7 @@
[org.ow2.asm/asm-util "7.3.1"]
]
:warn-on-reflection true
- :repositories [["snapshots" "https://oss.sonatype.org/content/repositories/snapshots/"]
- ["releases" "https://oss.sonatype.org/service/local/staging/deploy/maven2/"]]
+ :repositories [["snapshots" "https://oss.sonatype.org/content/repositories/snapshots/"]]
:source-paths ["src"]
:scm {:name "git"
diff --git a/lux-js/project.clj b/lux-js/project.clj
index ad4ddf6f0..35ab4a21c 100644
--- a/lux-js/project.clj
+++ b/lux-js/project.clj
@@ -1,4 +1,4 @@
-(def version "0.6.0-SNAPSHOT")
+(def version "0.6.0")
(def repo "https://github.com/LuxLang/lux")
(def sonatype-releases "https://oss.sonatype.org/service/local/staging/deploy/maven2/")
(def sonatype-snapshots "https://oss.sonatype.org/content/repositories/snapshots/")
@@ -14,8 +14,7 @@
[:name "Eduardo Julian"]
[:url "https://github.com/eduardoejp"]]]
- :repositories [["releases" ~sonatype-releases]
- ["snapshots" ~sonatype-snapshots]]
+ :repositories [["snapshots" ~sonatype-snapshots]]
:deploy-repositories [["releases" {:url ~sonatype-releases :creds :gpg}]
["snapshots" {:url ~sonatype-snapshots :creds :gpg}]]
diff --git a/lux-js/project.lux b/lux-js/project.lux
index ec5be294c..e9b44e375 100644
--- a/lux-js/project.lux
+++ b/lux-js/project.lux
@@ -1,5 +1,5 @@
{""
- [#identity ["com.github.luxlang" "lux-js" "0.6.0-SNAPSHOT"]
+ [#identity ["com.github.luxlang" "lux-js" "0.6.0"]
#description "A JavaScript compiler for Lux."
#deploy_repositories {"snapshots" "https://oss.sonatype.org/content/repositories/snapshots/"
@@ -8,10 +8,10 @@
#repositories ["https://oss.sonatype.org/content/repositories/snapshots/"
"https://oss.sonatype.org/service/local/staging/deploy/maven2/"]
- #dependencies [["com.github.luxlang" "stdlib" "0.6.0-SNAPSHOT" "tar"]]
+ #dependencies [["com.github.luxlang" "stdlib" "0.6.0" "tar"]]
#program "program"]
"jvm"
- [#compiler ["com.github.luxlang" "lux-jvm" "0.6.0-SNAPSHOT" "jar"]
+ [#compiler ["com.github.luxlang" "lux-jvm" "0.6.0" "jar"]
#dependencies [["org.openjdk.nashorn" "nashorn-core" "15.1" "jar"]]]}
diff --git a/lux-jvm/project.clj b/lux-jvm/project.clj
index d01f246a2..f6bc06844 100644
--- a/lux-jvm/project.clj
+++ b/lux-jvm/project.clj
@@ -1,4 +1,4 @@
-(def version "0.6.0-SNAPSHOT")
+(def version "0.6.0")
(def repo "https://github.com/LuxLang/lux")
(def sonatype "https://oss.sonatype.org")
(def sonatype-releases (str sonatype "/service/local/staging/deploy/maven2/"))
@@ -15,8 +15,7 @@
:pom-addition [:developers [:developer
[:name "Eduardo Julian"]
[:url "https://github.com/eduardoejp"]]]
- :repositories [["releases" ~sonatype-releases]
- ["snapshots" ~sonatype-snapshots]]
+ :repositories [["snapshots" ~sonatype-snapshots]]
:scm {:name "git"
:url ~(str repo ".git")}
diff --git a/lux-lein/project.clj b/lux-lein/project.clj
index c5c1b9090..3fc049c64 100644
--- a/lux-lein/project.clj
+++ b/lux-lein/project.clj
@@ -1,4 +1,4 @@
-(defproject com.github.luxlang/lein-luxc "0.6.0-SNAPSHOT"
+(defproject com.github.luxlang/lein-luxc "0.6.0"
:description "The Leiningen plugin for the Lux programming language."
:url "https://github.com/LuxLang/lein-luxc"
:license {:name "Lux License v0.1.1"
diff --git a/lux-lua/project.clj b/lux-lua/project.clj
index 559f57aab..e6848ccb1 100644
--- a/lux-lua/project.clj
+++ b/lux-lua/project.clj
@@ -1,4 +1,4 @@
-(def version "0.6.0-SNAPSHOT")
+(def version "0.6.0")
(def repo "https://github.com/LuxLang/lux")
(def sonatype-releases "https://oss.sonatype.org/service/local/staging/deploy/maven2/")
(def sonatype-snapshots "https://oss.sonatype.org/content/repositories/snapshots/")
@@ -14,8 +14,7 @@
[:name "Eduardo Julian"]
[:url "https://github.com/eduardoejp"]]]
- :repositories [["releases" ~sonatype-releases]
- ["snapshots" ~sonatype-snapshots]]
+ :repositories [["snapshots" ~sonatype-snapshots]]
:deploy-repositories [["releases" {:url ~sonatype-releases :creds :gpg}]
["snapshots" {:url ~sonatype-snapshots :creds :gpg}]]
diff --git a/lux-lua/project.lux b/lux-lua/project.lux
index 4d0c10a35..e03946c59 100644
--- a/lux-lua/project.lux
+++ b/lux-lua/project.lux
@@ -1,5 +1,5 @@
{""
- [#identity ["com.github.luxlang" "lux-lua" "0.6.0-SNAPSHOT"]
+ [#identity ["com.github.luxlang" "lux-lua" "0.6.0"]
#deploy_repositories {"snapshots" "https://oss.sonatype.org/content/repositories/snapshots/"
"releases" "https://oss.sonatype.org/service/local/staging/deploy/maven2/"}
@@ -7,8 +7,8 @@
#repositories ["https://oss.sonatype.org/content/repositories/snapshots/"
"https://oss.sonatype.org/service/local/staging/deploy/maven2/"]
- #compiler ["com.github.luxlang" "lux-jvm" "0.6.0-SNAPSHOT" "jar"]
- #dependencies [["com.github.luxlang" "stdlib" "0.6.0-SNAPSHOT" "tar"]
+ #compiler ["com.github.luxlang" "lux-jvm" "0.6.0" "jar"]
+ #dependencies [["com.github.luxlang" "stdlib" "0.6.0" "tar"]
["net.sandius.rembulan" "rembulan-runtime" "0.1-SNAPSHOT" "jar"]
["net.sandius.rembulan" "rembulan-stdlib" "0.1-SNAPSHOT" "jar"]
["net.sandius.rembulan" "rembulan-compiler" "0.1-SNAPSHOT" "jar"]]
diff --git a/lux-python/project.clj b/lux-python/project.clj
index 88f4cec40..3367a2819 100644
--- a/lux-python/project.clj
+++ b/lux-python/project.clj
@@ -1,4 +1,4 @@
-(def version "0.6.0-SNAPSHOT")
+(def version "0.6.0")
(def repo "https://github.com/LuxLang/lux")
(def sonatype-releases "https://oss.sonatype.org/service/local/staging/deploy/maven2/")
(def sonatype-snapshots "https://oss.sonatype.org/content/repositories/snapshots/")
@@ -14,8 +14,7 @@
[:name "Eduardo Julian"]
[:url "https://github.com/eduardoejp"]]]
- :repositories [["releases" ~sonatype-releases]
- ["snapshots" ~sonatype-snapshots]]
+ :repositories [["snapshots" ~sonatype-snapshots]]
:deploy-repositories [["releases" {:url ~sonatype-releases :creds :gpg}]
["snapshots" {:url ~sonatype-snapshots :creds :gpg}]]
diff --git a/lux-python/project.lux b/lux-python/project.lux
index 2f6627b83..4c0b4dfa4 100644
--- a/lux-python/project.lux
+++ b/lux-python/project.lux
@@ -1,5 +1,5 @@
[""
- ["identity" ["com.github.luxlang" "lux-python" "0.6.0-SNAPSHOT"]
+ ["identity" ["com.github.luxlang" "lux-python" "0.6.0"]
"deploy_repositories" ["snapshots" "https://oss.sonatype.org/content/repositories/snapshots/"
"releases" "https://oss.sonatype.org/service/local/staging/deploy/maven2/"]
@@ -7,8 +7,8 @@
"repositories" ["https://oss.sonatype.org/content/repositories/snapshots/"
"https://oss.sonatype.org/service/local/staging/deploy/maven2/"]
- "compiler" ["com.github.luxlang" "lux-jvm" "0.6.0-SNAPSHOT" "jar"]
- "dependencies" [["com.github.luxlang" "stdlib" "0.6.0-SNAPSHOT" "tar"]
+ "compiler" ["com.github.luxlang" "lux-jvm" "0.6.0" "jar"]
+ "dependencies" [["com.github.luxlang" "stdlib" "0.6.0" "tar"]
["org.python" "jython-standalone" "2.7.2" "jar"]]
"program" "program"]]
diff --git a/lux-python/source/program.lux b/lux-python/source/program.lux
index 5383c1b0d..8fb761f0f 100644
--- a/lux-python/source/program.lux
+++ b/lux-python/source/program.lux
@@ -91,7 +91,7 @@
(import: org/python/core/PyObject
["[1]::[0]"
- ... (asInt [] int)
+ (asInt [] java/lang/Integer)
(asLong [] long)
(asDouble [] double)
(asString [] java/lang/String)
@@ -367,7 +367,7 @@
(All (_ s i o)
(-> (List Any) (Phase [extension.Bundle s] i o)
org/python/core/PyObject))
- (<| (ffi.:as org/python/core/PyObject)
+ (<| (:as org/python/core/PyObject)
(ffi.object [] org/python/core/PyObject []
[]
... Methods
diff --git a/lux-ruby/project.clj b/lux-ruby/project.clj
index 36430ec9a..f689a8c33 100644
--- a/lux-ruby/project.clj
+++ b/lux-ruby/project.clj
@@ -1,4 +1,4 @@
-(def version "0.6.0-SNAPSHOT")
+(def version "0.6.0")
(def repo "https://github.com/LuxLang/lux")
(def sonatype-releases "https://oss.sonatype.org/service/local/staging/deploy/maven2/")
(def sonatype-snapshots "https://oss.sonatype.org/content/repositories/snapshots/")
diff --git a/lux-ruby/project.lux b/lux-ruby/project.lux
index b9e998cde..ab142f3c4 100644
--- a/lux-ruby/project.lux
+++ b/lux-ruby/project.lux
@@ -1,5 +1,5 @@
{""
- [#identity ["com.github.luxlang" "lux-ruby" "0.6.0-SNAPSHOT"]
+ [#identity ["com.github.luxlang" "lux-ruby" "0.6.0"]
#description "A Ruby compiler for Lux."
#deploy_repositories {"snapshots" "https://oss.sonatype.org/content/repositories/snapshots/"
@@ -8,8 +8,8 @@
#repositories ["https://oss.sonatype.org/content/repositories/snapshots/"
"https://oss.sonatype.org/service/local/staging/deploy/maven2/"]
- #compiler ["com.github.luxlang" "lux-jvm" "0.6.0-SNAPSHOT" "jar"]
- #dependencies [["com.github.luxlang" "stdlib" "0.6.0-SNAPSHOT" "tar"]
+ #compiler ["com.github.luxlang" "lux-jvm" "0.6.0" "jar"]
+ #dependencies [["com.github.luxlang" "stdlib" "0.6.0" "tar"]
["org.jruby" "jruby-complete" "9.2.15.0" "jar"]]
#program "program"]}
diff --git a/stdlib/project.clj b/stdlib/project.clj
index b7c037b45..64cb8d3b7 100644
--- a/stdlib/project.clj
+++ b/stdlib/project.clj
@@ -1,9 +1,11 @@
-(def version "0.6.0-SNAPSHOT")
+(def version "0.6.0")
(def repo "https://github.com/LuxLang/lux")
(def sonatype-releases "https://oss.sonatype.org/service/local/staging/deploy/maven2/")
(def sonatype-snapshots "https://oss.sonatype.org/content/repositories/snapshots/")
(defproject com.github.luxlang/stdlib #=(identity version)
+ :description "Standard library for the Lux programming language."
+
:url ~repo
:license {:name "Lux License v0.1.1"
:url ~(str repo "/blob/master/license.txt")}
@@ -13,16 +15,14 @@
:pom-addition [:developers [:developer
[:name "Eduardo Julian"]
[:url "https://github.com/eduardoejp"]]]
- :repositories [["releases" ~sonatype-releases]
- ["snapshots" ~sonatype-snapshots]]
+ :repositories [["snapshots" ~sonatype-snapshots]]
:scm {:name "git"
:url ~(str repo ".git")}
:manifest {"lux" ~version}
:source-paths ["source"]
:dependencies [[com.github.luxlang/lux-bootstrapper ~version]]
- :profiles {:bibliotheca {:description "Standard library for the Lux programming language."
- :lux {:test "test/lux"}}
+ :profiles {:bibliotheca {:lux {:test "test/lux"}}
:aedifex {:description "A build system/tool made exclusively for Lux."
:lux {:program "program/aedifex"
:test "test/aedifex"}}}
diff --git a/stdlib/project.lux b/stdlib/project.lux
index 0f3cdc0cb..a5a2df7d7 100644
--- a/stdlib/project.lux
+++ b/stdlib/project.lux
@@ -2,7 +2,7 @@
[... An optional identity for the project.
... It can also be specified or overriden in a non-default profile.
... This will be the name given to the project when installed/deployed as a dependency.
- "identity" ["com.github.luxlang" "stdlib" "0.6.0-SNAPSHOT"]
+ "identity" ["com.github.luxlang" "stdlib" "0.6.0"]
... Every piece of information, and the whole "info" bundle, are optional.
"info" ["url" "https://github.com/LuxLang/lux"
@@ -41,7 +41,7 @@
... The following are alternative profiles to use in various situations.
"jvm"
[... "compiler" specifies the dependency to fetch and use as the compiler.
- "compiler" ["com.github.luxlang" "lux-jvm" "0.6.0-SNAPSHOT" "jar"]
+ "compiler" ["com.github.luxlang" "lux-jvm" "0.6.0" "jar"]
... "dependencies" is an optional list of dependencies to fetch.
... The dependencies have the same shape as when specifying the compiler.
... When omitting the packaging format of the dependency, "tar" will be assumed.
@@ -52,25 +52,25 @@
]
"js"
- ["compiler" ["com.github.luxlang" "lux-js" "0.6.0-SNAPSHOT" "js"]
+ ["compiler" ["com.github.luxlang" "lux-js" "0.6.0" "js"]
... The OS command to use when running JS tests. The default is described below.
... "js" ["node" "--stack_size=8192"]
]
"python"
- ["compiler" ["com.github.luxlang" "lux-python" "0.6.0-SNAPSHOT" "jar"]
+ ["compiler" ["com.github.luxlang" "lux-python" "0.6.0" "jar"]
... The OS command to use when running Python tests. The default is described below.
... "python" ["python3"]
]
"lua"
- ["compiler" ["com.github.luxlang" "lux-lua" "0.6.0-SNAPSHOT" "jar"]
+ ["compiler" ["com.github.luxlang" "lux-lua" "0.6.0" "jar"]
... The OS command to use when running Lua tests. The default is described below.
... "lua" ["lua"]
]
"ruby"
- ["compiler" ["com.github.luxlang" "lux-ruby" "0.6.0-SNAPSHOT" "jar"]
+ ["compiler" ["com.github.luxlang" "lux-ruby" "0.6.0" "jar"]
... The OS command to use when running Ruby tests. The default is described below.
... "ruby" ["ruby"]
]