Skip to content

Read-time conditionals #1

Open
Open
@Izaakwltn

Description

@Izaakwltn

It would be nice to have read-time conditionals acknowledged in coalton-mode. I'm assuming/hoping they will be supported in .coal files.

#+sbcl
(coalton-toplevel
  (define (myfunc x)
    (sbcl-specific-function x)))
#-sbcl
(coalton-toplevel
  (define (myfunc x)
    (general-function x))
    

The above should "comment out" whichever code is inapplicable.

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