Skip to content

implement compiler directives #9

Open
@Kacarott

Description

@Kacarott
Collaborator
No description provided.

Activity

JohanWiltink

JohanWiltink commented on Feb 7, 2022

@JohanWiltink
Collaborator

in no particular order:
#import filename.lc - import external code ( may need facility for specific imports renaming or namespacing )
#export binding-name - export a subset of defined bindings
#no-export binding-name - export a subset of defined bindings, inverted logic
#constant binding-name - protect a binding from being overwritten in the current scope
#define binding-name JS-code - define a magic binding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or requestv2To be implemented for version 2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @JohanWiltink@Kacarott

        Issue actions

          implement compiler directives · Issue #9 · codewars/lambda-calculus