author | Alan Dipert
<alan@dipert.org> 2020-07-03 03:05:43 UTC |
committer | Alan Dipert
<alan@dipert.org> 2020-07-03 03:05:43 UTC |
parent | d5bc34569f56c34d84caf40c9bf33bb17256ed12 |
boot.lisp | +12 | -0 |
diff --git a/boot.lisp b/boot.lisp index 140bb28..66b48dc 100644 --- a/boot.lisp +++ b/boot.lisp @@ -24,6 +24,18 @@ (\. cl-pkg (|usePackage| cl:*package*)) (%setq cl:*package* cl-pkg)) +(%js "(~{}.fvalue = ~{})" + '%internal-name + (%lambda %internal-name nil (prefix-string name) + (\. (%js "Package") + (|get| (\. "JACL" (|toString|))) + (|intern| + (%js + "('INTERNAL-' + ~{}.toString() + '-' + (~{} === null ? 'NIL' : ~{}.name))" + prefix-string + name + name))))) + (\. *package* (|exportSymbol| (\. 'defmacro |name|))) (%js "(~{}.setMacro().fvalue = ~{})" 'defmacro