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

Initial iteration of documentation generation #6

Merged
merged 12 commits into from
Feb 4, 2020

Commits on Feb 3, 2020

  1. Initial iteration of documentation generation

     - Replace our custom path library with Fpath. It's rather more sturdy
       than our implementation after all.
     - Port over our old documentation extraction system to the new
       processor. This rather needs a rewrite, but all my attempts have
       ended in failure.
    SquidDev committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    79ad9c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    085e125 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2020

  1. Configuration menu
    Copy the full SHA
    b39af60 View commit details
    Browse the repository at this point in the history
  2. Allow customising where documentation is emitted too

    Also create the target directory if required.
    SquidDev committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    1d66aac View commit details
    Browse the repository at this point in the history
  3. Make _ENV resolve to the global table

    This is a really dirty hack to make `_ENV.foo = 123` work the same as
    doing `foo = 123`. This is largely useful for CC:T, where APIs do sneaky
    things like this.
    SquidDev committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    6e2b074 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    00e9e98 View commit details
    Browse the repository at this point in the history
  5. Merge modules together

    This allows you to declare "stub" files which define any additional externals.
    SquidDev committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    50f910c View commit details
    Browse the repository at this point in the history
  6. Be a bit smarter about methods

     - Functions now store if they have an implicit self.
     - When converting a function to a method, check if we have an implicit
       self, or have an explicit self argument (dropping it if so).
    SquidDev committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    6de0f2d View commit details
    Browse the repository at this point in the history
  7. A couple of bug fixes

     - Remove terms annotated with @Local in a post-processing step
     - Fix the parser recognising strings starting with `---`.
    SquidDev committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    b9d0853 View commit details
    Browse the repository at this point in the history
  8. Add a couple of tests

    Also:
    
     - Rename "APIs" and "Libraries" to the more general "Globals" and
       "Modules". While there's no pretending illuaminate is designed for
       CC:T, let's not get too suck in its nomenclature.
    SquidDev committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    d0161cb View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    abc7066 View commit details
    Browse the repository at this point in the history
  10. We wee bit of cleanup

    SquidDev committed Feb 4, 2020
    Configuration menu
    Copy the full SHA
    c2a3094 View commit details
    Browse the repository at this point in the history