LuxLang / lux

The Lux Programming Language
Mozilla Public License 2.0
1.69k stars 50 forks source link

how to manual install ? #69

Closed WingDust closed 1 year ago

WingDust commented 1 year ago

my terminal network is so bad to download

com.github.luxlang:lux-jvm-0.7.0
com.github.luxlang:stdlib-0.7.0

how to manual install this thing ?

eduardoejp commented 1 year ago

Extract the following zip files in your ~/.m2/repository/com/github/luxlang/ directory.

lux-jvm.zip lux-jvm-function.zip stdlib.zip

WingDust commented 1 year ago

@eduardoejp anther question how to log any type var ?

(.require
 [library
  [lux (.except)
   [program (.only program)]
   ["[0]" debug]
   [control
    ["[0]" io]]]])

(def main
  (program args
    (io.io (debug.log! #testlog ))))
eduardoejp commented 1 year ago

@WingDust Import the library/lux/data/text/format module. It offers several functions for text-formatting of different types.

https://github.com/LuxLang/lux/blob/master/documentation/library/standard/jvm.md#libraryluxdatatextformat