Skip to content

Compiling in SBCL #615

Description

@hemml

I'm trying to generate JS on the host (SBCL) with JSCL:

The following code causes Bad function designator error:

(load "jscl.lisp")
(in-package :jscl-xc)
(setq *environment* (make-lexenv))
(with-compilation-environment 
  (compile-toplevel 
    '(let ((x 'a)) `(,x))))

And the following causes Lock on package violation:

(load "jscl.lisp")
(in-package :jscl-xc)
(setq *environment* (make-lexenv))
(with-compilation-environment 
  (compile-toplevel 
    '(let ((x 'a)) `(a ,x))))

Is this a bug or I'm doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions