mirror of
https://github.com/janet-lang/janet
synced 2025-11-08 11:33:02 +00:00
Add os/compiler to the core.
Allows querying what compiler was used to compile Janet.
This commit is contained in:
@@ -3933,7 +3933,7 @@
|
||||
compile-only (flycheck stdin :source :stdin :exit exit-on-error)
|
||||
(do
|
||||
(if-not quiet
|
||||
(print "Janet " janet/version "-" janet/build " " (os/which) "/" (os/arch) " - '(doc)' for help"))
|
||||
(print "Janet " janet/version "-" janet/build " " (os/which) "/" (os/arch) "/" (os/compiler) " - '(doc)' for help"))
|
||||
(flush)
|
||||
(defn getprompt [p]
|
||||
(def [line] (parser/where p))
|
||||
|
||||
Reference in New Issue
Block a user