-
Notifications
You must be signed in to change notification settings - Fork 112
JSCL HOW TO
VitoVan edited this page Apr 20, 2023
·
17 revisions
This page is not intent to be a comprehensive JSCL user documentation, nor a page of FAQ (since those Lisp wizards never ask, they just dig into the code and cast the spell).
This is a page for those non-wizard JSCL users to find some clues to do something, with extra links for them to find out more.
Please feel free to edit this page, add more examples or more questions.
(#j:alert "this is an alert")
With #j: and replace dot . with :, you can access almost everything.
To find out more:
https://github.com/jscl-project/jscl/wiki/JSCL-and-manipulations-with-JS-objects
https://github.com/jscl-project/jscl/wiki/FFI-Design-Discussions
#j:navigator:appVersion
This might not be the best way, but this is the only method I know.
(defun hello () (#j:console:log "Hello, World!"))
(setf #j:hello #'hello)
I don't know, please edit this.
TODO
TODO