diff options
author | Eduardo Julian | 2021-10-09 04:28:53 -0400 |
---|---|---|
committer | Eduardo Julian | 2021-10-09 04:28:53 -0400 |
commit | b5763ce88f398a0f0982d2118a8b81c609782421 (patch) | |
tree | 7a19d4fe9f4578f5812b2a3aec26817d65da2125 /documentation/book/the_lux_programming_language/chapter_17.md | |
parent | f29d0644f15e6548af6d015ef9bb60eb6f846329 (diff) |
Updated version in book.
Diffstat (limited to 'documentation/book/the_lux_programming_language/chapter_17.md')
-rw-r--r-- | documentation/book/the_lux_programming_language/chapter_17.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/documentation/book/the_lux_programming_language/chapter_17.md b/documentation/book/the_lux_programming_language/chapter_17.md index 6eefda219..bbf383151 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.0" "jar"]`. +This option can be omitted, in which case it will pick, as a default value: `["com.github.luxlang" "lux-jvm" "0.6.2" "jar"]`. Here are the compilers for the alternative platforms: -* For JavaScript: `["com.github.luxlang" "lux-js" "0.6.0" "js"]` -* For Python: `["com.github.luxlang" "lux-python" "0.6.0" "jar"]` -* For Lua: `["com.github.luxlang" "lux-lua" "0.6.0" "jar"]` -* For Ruby: `["com.github.luxlang" "lux-ruby" "0.6.0" "jar"]` +* For JavaScript: `["com.github.luxlang" "lux-js" "0.6.2" "js"]` +* For Python: `["com.github.luxlang" "lux-python" "0.6.2" "jar"]` +* For Lua: `["com.github.luxlang" "lux-lua" "0.6.2" "jar"]` +* For Ruby: `["com.github.luxlang" "lux-ruby" "0.6.2" "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.0" "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.2" "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?_ |