diff options
author | Eduardo Julian | 2021-11-02 23:35:02 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-11-02 23:35:02 -0400 |
commit | 94795576e9c90e48367772f95c2f250efcd62da2 (patch) | |
tree | 17796957beb4f52051bdaf6bfe1da050a90614cb /documentation/book/the_lux_programming_language | |
parent | 6c15469f06499e9dee6966f89ac33727d46c885e (diff) |
Added the new forum to the documentation, plus updated versions.
Diffstat (limited to 'documentation/book/the_lux_programming_language')
5 files changed, 23 insertions, 23 deletions
diff --git a/documentation/book/the_lux_programming_language/appendix_h.md b/documentation/book/the_lux_programming_language/appendix_h.md index 9d0cf5f90..698b0af15 100644 --- a/documentation/book/the_lux_programming_language/appendix_h.md +++ b/documentation/book/the_lux_programming_language/appendix_h.md @@ -9,7 +9,7 @@ lux version => -00.06.00 +00.06.04 ``` This command tells you the version of Aedifex you're using. @@ -43,9 +43,9 @@ lux deps => -[?] Fetching com.github.luxlang:lux-jvm-0.6.3 from "~/.m2/repository" -[O] Found com.github.luxlang:lux-jvm-0.6.3 at "~/.m2/repository" - Local successes: 0: "com.github.luxlang:lux-jvm-0.6.3" +[?] Fetching com.github.luxlang:lux-jvm-0.6.4 from "~/.m2/repository" +[O] Found com.github.luxlang:lux-jvm-0.6.4 at "~/.m2/repository" + Local successes: 0: "com.github.luxlang:lux-jvm-0.6.4" Local failures: Remote successes: Remote failures: @@ -124,7 +124,7 @@ Now that we have seen the available commands, it would be useful to see an annot [... 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.3"] + "identity" ["com.github.luxlang" "stdlib" "0.6.4"] ... Every piece of information, and the whole "info" bundle, are optional. "info" ["url" "https://github.com/LuxLang/lux" @@ -163,36 +163,36 @@ Now that we have seen the available commands, it would be useful to see an annot ... 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.3" "jar"] + "compiler" ["com.github.luxlang" "lux-jvm" "0.6.4" "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. ... "dependencies" [["org.ow2.asm" "asm-all" "5.0.3" "jar"] - ... ["com.github.luxlang" "stdlib" "0.6.3"]] + ... ["com.github.luxlang" "stdlib" "0.6.4"]] ... The OS command to use when running JVM tests. The default is described below. ... "java" ["java" "-jar"] ] "js" - ["compiler" ["com.github.luxlang" "lux-js" "0.6.3" "js"] + ["compiler" ["com.github.luxlang" "lux-js" "0.6.4" "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.3" "jar"] + ["compiler" ["com.github.luxlang" "lux-python" "0.6.4" "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.3" "jar"] + ["compiler" ["com.github.luxlang" "lux-lua" "0.6.4" "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.3" "jar"] + ["compiler" ["com.github.luxlang" "lux-ruby" "0.6.4" "jar"] ... The OS command to use when running Ruby tests. The default is described below. ... "ruby" ["ruby"] ] diff --git a/documentation/book/the_lux_programming_language/chapter_1.md b/documentation/book/the_lux_programming_language/chapter_1.md index 15bf9501b..ef2c08dd2 100644 --- a/documentation/book/the_lux_programming_language/chapter_1.md +++ b/documentation/book/the_lux_programming_language/chapter_1.md @@ -23,7 +23,7 @@ Lux uses a custom-made build tool named _Aedifex_ which is configured using a de To install Aedifex, go to https://github.com/LuxLang/lux/tree/master/shell and download either `lux.bat` or `lux.sh` depending on whether you're on Windows or Linux/Mac. -Also [download the aedifex.jar file](https://github.com/LuxLang/lux/releases/download/0.6.2/aedifex.jar), and place it (along with either of the scripts you downloaded) somewhere in your `PATH`. +Also [download the aedifex.jar file](https://github.com/LuxLang/lux/releases/download/0.6.4/aedifex.jar), and place it (along with either of the scripts you downloaded) somewhere in your `PATH`. Now, you'll have access to the `lux` command, which allows you to run Aedifex to build and test Lux projects. @@ -43,8 +43,8 @@ These are the steps: "repositories" ["https://oss.sonatype.org/content/repositories/snapshots/" "https://oss.sonatype.org/service/local/staging/deploy/maven2/"] - "dependencies" [["com.github.luxlang" "stdlib" "0.6.3" "tar"]] - "compiler" ["com.github.luxlang" "lux-jvm" "0.6.3" "jar"] + "dependencies" [["com.github.luxlang" "stdlib" "0.6.4" "tar"]] + "compiler" ["com.github.luxlang" "lux-jvm" "0.6.4" "jar"] "program" "main"]] diff --git a/documentation/book/the_lux_programming_language/chapter_16.md b/documentation/book/the_lux_programming_language/chapter_16.md index 7945004c6..71bfa30be 100644 --- a/documentation/book/the_lux_programming_language/chapter_16.md +++ b/documentation/book/the_lux_programming_language/chapter_16.md @@ -22,7 +22,7 @@ Let's take a look at the `project.lux` file for the Lux standard library itself. ```clojure ["" - ["identity" ["com.github.luxlang" "stdlib" "0.6.3"] + ["identity" ["com.github.luxlang" "stdlib" "0.6.4"] "deploy_repositories" ["snapshots" "https://oss.sonatype.org/content/repositories/snapshots/" "releases" "https://oss.sonatype.org/service/local/staging/deploy/maven2/"] @@ -31,7 +31,7 @@ Let's take a look at the `project.lux` file for the Lux standard library itself. "https://oss.sonatype.org/service/local/staging/deploy/maven2/"]] "jvm" - ["compiler" ["com.github.luxlang" "lux-jvm" "0.6.3" "jar"]] + ["compiler" ["com.github.luxlang" "lux-jvm" "0.6.4" "jar"]] "bibliotheca" ["info" ["description" "Standard Library for the Lux programming language."] diff --git a/documentation/book/the_lux_programming_language/chapter_17.md b/documentation/book/the_lux_programming_language/chapter_17.md index 31f5d74df..aba9493a9 100644 --- a/documentation/book/the_lux_programming_language/chapter_17.md +++ b/documentation/book/the_lux_programming_language/chapter_17.md @@ -68,14 +68,14 @@ In order to compile a Lux program to any of these alternative platforms, you mus An Aedifex `project.lux` file allows for a `"compiler"` option to specify (as a dependency) the compiler you wish to use. -This option can be omitted, in which case it will pick, as a default value: `["com.github.luxlang" "lux-jvm" "0.6.3" "jar"]`. +This option can be omitted, in which case it will pick, as a default value: `["com.github.luxlang" "lux-jvm" "0.6.4" "jar"]`. Here are the compilers for the alternative platforms: -* For JavaScript: `["com.github.luxlang" "lux-js" "0.6.3" "js"]` -* For Python: `["com.github.luxlang" "lux-python" "0.6.3" "jar"]` -* For Lua: `["com.github.luxlang" "lux-lua" "0.6.3" "jar"]` -* For Ruby: `["com.github.luxlang" "lux-ruby" "0.6.3" "jar"]` +* For JavaScript: `["com.github.luxlang" "lux-js" "0.6.4" "js"]` +* For Python: `["com.github.luxlang" "lux-python" "0.6.4" "jar"]` +* For Lua: `["com.github.luxlang" "lux-lua" "0.6.4" "jar"]` +* For Ruby: `["com.github.luxlang" "lux-ruby" "0.6.4" "jar"]` You don't need to use any special command on Aedifex in order to compile Lux to any alternative platform. @@ -193,7 +193,7 @@ However, it is possible to specify that a file contains code that is only meant * For Lua: `foo.lua.lux` * For Ruby: `foo.rb.lux` -If you're using, let's say, the JavaScript compiler for Lux (i.e. `["com.github.luxlang" "lux-js" "0.6.3" "js"]`), whenever you import a module as a dependency, the compiler will first look for a file with the `.js.lux` extension, and if it fails to find one, it will look for a file with the plain `.lux` extension. +If you're using, let's say, the JavaScript compiler for Lux (i.e. `["com.github.luxlang" "lux-js" "0.6.4" "js"]`), whenever you import a module as a dependency, the compiler will first look for a file with the `.js.lux` extension, and if it fails to find one, it will look for a file with the plain `.lux` extension. _What happens if I do not have a `.js.lux` file, but I do have files with the other special extensions?_ diff --git a/documentation/book/the_lux_programming_language/conclusion.md b/documentation/book/the_lux_programming_language/conclusion.md index a7a0bb007..edc818780 100644 --- a/documentation/book/the_lux_programming_language/conclusion.md +++ b/documentation/book/the_lux_programming_language/conclusion.md @@ -14,7 +14,7 @@ My mission with Lux has been (and continues to be) to create a language that max Lux is still in its adolescence. -What you have learned is Lux version 0.6.3. +What you have learned is Lux version 0.6.4. In future releases, much more power will be added to the language, more platforms will be within reach of Lux programmers, and better performance will be achieved, with little to no effort on the side of programmers. |