Darkart
Darkart copied to clipboard
A binary interface let Chez Scheme use Python, Lua, Ruby etc's library
Results
3
Darkart issues
Sort by
recently updated
recently updated
newest added
Please add some documentation, specifically for the Python interface. (build and run example code). Thanks!
https://github.com/guenchi/fli/blob/bee3468b366665067cc947609450208d4a42f0e2/pycall.sc#L87-L90 I tested, it woks. This is example code: ``` (define-syntax py:from (syntax-rules (import as) [(_ where import name) (py:run-simple-string (format "from ~a import ~a" where name))] [(_ where import...
Python's dot syntax can be simply defined as a normal procedure. This is an example: ``` (define (py:dot obj . attrs) (define (f obj attr) (if (py:has-attr? obj attr) (py:get-attr...