Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rearrange the API again to fix compilation environments #9

Merged
merged 1 commit into from
Oct 22, 2023

Commits on Oct 21, 2023

  1. Rearrange the API again to fix compilation environments

    A lot to summarize, but basically:
    
    1) Any environment can inherit from another environment. The
       functions in Clostrum check for inherited data. The functions
       in clostrum-sys do not have to, so implementations can focus
       on themselves, as long as they provide a PARENT somehow.
    2) FUNCTION-DESCRIPTION etc. accessors are eliminated. Instead,
       compilation and runtime environments are accessed through a
       common API. The only real differences between them are that
       a) run-time-environments can't inherit from compilation envs
       b) compilation environments do not have function or variable cells
       c) or packages
    3) said common API includes new OPERATOR-FTYPE etc. accessors.
    
    TODO: Tests, documentation.
    Bike committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    25d17e7 View commit details
    Browse the repository at this point in the history