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

Comptime module system #56

Closed
wants to merge 11 commits into from
Closed

Comptime module system #56

wants to merge 11 commits into from

Commits on Jul 23, 2021

  1. Configuration menu
    Copy the full SHA
    44b3df2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9bdc59f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    71d4bb0 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2021

  1. *Mostly* comptime module system rewrite, gets rid of macros.fnl,

    and the internal compile.fnl script following the suggestions
    in the comments. Uses my fork of Fennel that patches the `lua`
    special, and adds a few small changes to support this rewrite.
    Rewrote autoload to generate slightly less code. Slightly
    modified the tests to properly reflect the changes.
    Andrew DeFilippo committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    41832e4 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2021

  1. Added assert-compiles that I forgot to before, and expanded

    on module-system-tests to include compilation tests and then some.
    Andrew DeFilippo committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    39841b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb866b0 View commit details
    Browse the repository at this point in the history
  3. Update generated autoload autoload function, slightly cleaner Lua

    emitted now.
    Andrew DeFilippo committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    a8c3752 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2021

  1. Refactored module-form to handle local fns by name instead of by

    whether the collection type was a sequence or table. Cleaned up the
    process by which `compile1` is called. Some slight changes to tests, and
    general code cleanup.
    Andrew DeFilippo committed Aug 1, 2021
    Configuration menu
    Copy the full SHA
    004e968 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2021

  1. Fixed def-form to allow for recursion in functions defined with this

    module system, added test coverage.
    Andrew DeFilippo committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    2109ff3 View commit details
    Browse the repository at this point in the history
  2. Removed macros-prefix reference from eval.fnl.

    Andrew DeFilippo committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    5517f0e View commit details
    Browse the repository at this point in the history
  3. Forgot to add the compiler plugin in opts in eval ...

    Andrew DeFilippo committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    173bbf8 View commit details
    Browse the repository at this point in the history