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

Export all arities for a function, foundations of function imports #84

Merged
merged 161 commits into from
Jan 11, 2017

Commits on Dec 23, 2016

  1. Basic function import syntax

    Haven't done the proper AST rewriting yet.  My intention is to rewrite
    any local reference to a function that doesn't exist to an inter-module
    application using the first import that satisfies it during the
    rebinding stage of AST generation.
    j14159 committed Dec 23, 2016
    Configuration menu
    Copy the full SHA
    2671bd7 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2016

  1. Basics of exporting all arities for a function

    This was suggested in alpaca-lang#63.  It's not actually part of the AST generation
    phase yet but it made sense to handle this at the same time as function
    imports for alpaca-lang#62.  I'm going to decouple the basic parsing pass from the
    renaming and rewriting pass of the parser since rewriting the names of
    imported functions to inter-module calls will require the other modules
    to already be parsed and accessible.
    j14159 committed Dec 30, 2016
    Configuration menu
    Copy the full SHA
    98bc925 View commit details
    Browse the repository at this point in the history
  2. Import expansion

    Not yet integrated into the actual parsing path.
    j14159 committed Dec 30, 2016
    Configuration menu
    Copy the full SHA
    0701d6d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6855d7d View commit details
    Browse the repository at this point in the history
  4. Literal check for values in parser

    lepoetemaudit authored and j14159 committed Dec 30, 2016
    Configuration menu
    Copy the full SHA
    26f601a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f246073 View commit details
    Browse the repository at this point in the history
  6. Adt constructor literal check

    lepoetemaudit authored and j14159 committed Dec 30, 2016
    Configuration menu
    Copy the full SHA
    b2d4f9e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6d9b7c5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b268891 View commit details
    Browse the repository at this point in the history
  9. Fix some whitespace issues

    * fix whitespace regex to cover whitespace other than spaces
    * fix block comment regex to cover more edge cases
    * fix line comment regex
    * add basic framework for property based testing using proper
    * property test for compiling generated module declarations
    ypaq authored and j14159 committed Dec 30, 2016
    Configuration menu
    Copy the full SHA
    ad3bc8d View commit details
    Browse the repository at this point in the history
  10. Add rebar3 ct command to travis

    ypaq authored and j14159 committed Dec 30, 2016
    Configuration menu
    Copy the full SHA
    523f732 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    32b2a05 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    fe676bd View commit details
    Browse the repository at this point in the history
  13. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Dec 30, 2016
    Configuration menu
    Copy the full SHA
    ac25c7c View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    92b8fa2 View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2016

  1. Configuration menu
    Copy the full SHA
    c69025f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    826bb13 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    228bc7d View commit details
    Browse the repository at this point in the history
  4. All tests now pass

    lepoetemaudit committed Dec 31, 2016
    Configuration menu
    Copy the full SHA
    e8e974f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    aa5e44b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    40179ac View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    43d3f50 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2017

  1. Restore sanitization

    lepoetemaudit committed Jan 1, 2017
    Configuration menu
    Copy the full SHA
    b652932 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2017

  1. Merge pull request alpaca-lang#85 from lepoetemaudit/top-level-let-ig…

    …nore-ws
    
    Add 'let' to top level definitions; infer breaks using top-level keywords
    j14159 committed Jan 2, 2017
    Configuration menu
    Copy the full SHA
    8b51f8c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6464350 View commit details
    Browse the repository at this point in the history
  3. Generate type declarations

    ypaq committed Jan 2, 2017
    Configuration menu
    Copy the full SHA
    0ea12db View commit details
    Browse the repository at this point in the history
  4. Remove erlang 18

    ypaq committed Jan 2, 2017
    Configuration menu
    Copy the full SHA
    809736e View commit details
    Browse the repository at this point in the history
  5. Merge pull request alpaca-lang#88 from ypaq/ypaq-more-prop-tests

    Add more property tests
    j14159 committed Jan 2, 2017
    Configuration menu
    Copy the full SHA
    8effc8c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    41586f8 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ca29ba0 View commit details
    Browse the repository at this point in the history
  8. Fix infix parse + more tests

    lepoetemaudit authored and j14159 committed Jan 2, 2017
    Configuration menu
    Copy the full SHA
    dccb43a View commit details
    Browse the repository at this point in the history
  9. All tests now pass

    lepoetemaudit authored and j14159 committed Jan 2, 2017
    Configuration menu
    Copy the full SHA
    5993627 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    97efe01 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    058b1a2 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3b9c1dc View commit details
    Browse the repository at this point in the history
  13. Restore sanitization

    lepoetemaudit authored and j14159 committed Jan 2, 2017
    Configuration menu
    Copy the full SHA
    642a0c2 View commit details
    Browse the repository at this point in the history
  14. Improve property test failure logging

    ypaq authored and j14159 committed Jan 2, 2017
    Configuration menu
    Copy the full SHA
    7d4d13a View commit details
    Browse the repository at this point in the history
  15. Generate type declarations

    ypaq authored and j14159 committed Jan 2, 2017
    Configuration menu
    Copy the full SHA
    24a8295 View commit details
    Browse the repository at this point in the history
  16. Remove erlang 18

    ypaq authored and j14159 committed Jan 2, 2017
    Configuration menu
    Copy the full SHA
    de3b07b View commit details
    Browse the repository at this point in the history
  17. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Jan 2, 2017
    Configuration menu
    Copy the full SHA
    b116610 View commit details
    Browse the repository at this point in the history
  18. Use an environment record in AST rewriting

    Rather than adding the set of available modules as another parameter,
    thread an environment record through the rewriting stages that tracks
    all of this stuff and makes it easier to expand upon later if
    necessary.
    j14159 committed Jan 2, 2017
    Configuration menu
    Copy the full SHA
    d90e31c View commit details
    Browse the repository at this point in the history
  19. Resolve imports to module:fun AST nodes

    Lets us use module.fun/arity for things like x |> module.fun/1 or
    simpler with x |> module.fun.  Using function names like this without
    module and arity qualifications will work as well.
    j14159 committed Jan 2, 2017
    Configuration menu
    Copy the full SHA
    8f3caa5 View commit details
    Browse the repository at this point in the history
  20. Basic function import syntax

    Haven't done the proper AST rewriting yet.  My intention is to rewrite
    any local reference to a function that doesn't exist to an inter-module
    application using the first import that satisfies it during the
    rebinding stage of AST generation.
    j14159 committed Jan 2, 2017
    Configuration menu
    Copy the full SHA
    14050fd View commit details
    Browse the repository at this point in the history
  21. Basics of exporting all arities for a function

    This was suggested in alpaca-lang#63.  It's not actually part of the AST generation
    phase yet but it made sense to handle this at the same time as function
    imports for alpaca-lang#62.  I'm going to decouple the basic parsing pass from the
    renaming and rewriting pass of the parser since rewriting the names of
    imported functions to inter-module calls will require the other modules
    to already be parsed and accessible.
    j14159 committed Jan 2, 2017
    Configuration menu
    Copy the full SHA
    90dd105 View commit details
    Browse the repository at this point in the history
  22. Import expansion

    Not yet integrated into the actual parsing path.
    j14159 committed Jan 2, 2017
    Configuration menu
    Copy the full SHA
    f3aac1a View commit details
    Browse the repository at this point in the history
  23. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Jan 2, 2017
    Configuration menu
    Copy the full SHA
    3ee6012 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    9262ff3 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    30367e1 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    507d143 View commit details
    Browse the repository at this point in the history
  27. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Jan 2, 2017
    Configuration menu
    Copy the full SHA
    7e4c0b0 View commit details
    Browse the repository at this point in the history
  28. Use an environment record in AST rewriting

    Rather than adding the set of available modules as another parameter,
    thread an environment record through the rewriting stages that tracks
    all of this stuff and makes it easier to expand upon later if
    necessary.
    j14159 committed Jan 2, 2017
    Configuration menu
    Copy the full SHA
    903ca50 View commit details
    Browse the repository at this point in the history
  29. Resolve imports to module:fun AST nodes

    Lets us use module.fun/arity for things like x |> module.fun/1 or
    simpler with x |> module.fun.  Using function names like this without
    module and arity qualifications will work as well.
    j14159 committed Jan 2, 2017
    Configuration menu
    Copy the full SHA
    bfdc91f View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    8c39ab5 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    a8f0895 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2017

  1. Configuration menu
    Copy the full SHA
    cf82af5 View commit details
    Browse the repository at this point in the history
  2. Literal check for values in parser

    lepoetemaudit authored and j14159 committed Jan 3, 2017
    Configuration menu
    Copy the full SHA
    f1dc2bc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0f3d29b View commit details
    Browse the repository at this point in the history
  4. Adt constructor literal check

    lepoetemaudit authored and j14159 committed Jan 3, 2017
    Configuration menu
    Copy the full SHA
    659b9c3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bf86309 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e453bd7 View commit details
    Browse the repository at this point in the history
  7. Fix some whitespace issues

    * fix whitespace regex to cover whitespace other than spaces
    * fix block comment regex to cover more edge cases
    * fix line comment regex
    * add basic framework for property based testing using proper
    * property test for compiling generated module declarations
    ypaq authored and j14159 committed Jan 3, 2017
    Configuration menu
    Copy the full SHA
    c7e0130 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a1f5a18 View commit details
    Browse the repository at this point in the history
  9. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Jan 3, 2017
    Configuration menu
    Copy the full SHA
    1fe37bd View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    4816aaf View commit details
    Browse the repository at this point in the history
  11. All tests now pass

    lepoetemaudit authored and j14159 committed Jan 3, 2017
    Configuration menu
    Copy the full SHA
    0b60bea View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    64c3f7b View commit details
    Browse the repository at this point in the history
  13. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Jan 3, 2017
    Configuration menu
    Copy the full SHA
    9a920af View commit details
    Browse the repository at this point in the history
  14. Basic function import syntax

    Haven't done the proper AST rewriting yet.  My intention is to rewrite
    any local reference to a function that doesn't exist to an inter-module
    application using the first import that satisfies it during the
    rebinding stage of AST generation.
    j14159 committed Jan 3, 2017
    Configuration menu
    Copy the full SHA
    3b20214 View commit details
    Browse the repository at this point in the history
  15. Basics of exporting all arities for a function

    This was suggested in alpaca-lang#63.  It's not actually part of the AST generation
    phase yet but it made sense to handle this at the same time as function
    imports for alpaca-lang#62.  I'm going to decouple the basic parsing pass from the
    renaming and rewriting pass of the parser since rewriting the names of
    imported functions to inter-module calls will require the other modules
    to already be parsed and accessible.
    j14159 committed Jan 3, 2017
    Configuration menu
    Copy the full SHA
    e8a0190 View commit details
    Browse the repository at this point in the history
  16. Import expansion

    Not yet integrated into the actual parsing path.
    j14159 committed Jan 3, 2017
    Configuration menu
    Copy the full SHA
    09458a5 View commit details
    Browse the repository at this point in the history
  17. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Jan 3, 2017
    Configuration menu
    Copy the full SHA
    4d07008 View commit details
    Browse the repository at this point in the history
  18. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Jan 3, 2017
    Configuration menu
    Copy the full SHA
    e2f5063 View commit details
    Browse the repository at this point in the history
  19. Use an environment record in AST rewriting

    Rather than adding the set of available modules as another parameter,
    thread an environment record through the rewriting stages that tracks
    all of this stuff and makes it easier to expand upon later if
    necessary.
    j14159 committed Jan 3, 2017
    Configuration menu
    Copy the full SHA
    452bd0f View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    db62e26 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    1b1f321 View commit details
    Browse the repository at this point in the history
  22. Simple import/export examples in the tour docs

    Added top-level `let`s since I was alread in there.
    j14159 committed Jan 3, 2017
    Configuration menu
    Copy the full SHA
    581ff86 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2017

  1. Configuration menu
    Copy the full SHA
    ab1cdb8 View commit details
    Browse the repository at this point in the history
  2. Top-level lets in README.md

    j14159 committed Jan 4, 2017
    Configuration menu
    Copy the full SHA
    a1b9662 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2017

  1. Configuration menu
    Copy the full SHA
    54422a5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b9728e4 View commit details
    Browse the repository at this point in the history
  3. Fix some whitespace issues

    * fix whitespace regex to cover whitespace other than spaces
    * fix block comment regex to cover more edge cases
    * fix line comment regex
    * add basic framework for property based testing using proper
    * property test for compiling generated module declarations
    ypaq authored and j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    3d9dc06 View commit details
    Browse the repository at this point in the history
  4. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    f93a26a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    11d6c2b View commit details
    Browse the repository at this point in the history
  6. All tests now pass

    lepoetemaudit authored and j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    c22f7eb View commit details
    Browse the repository at this point in the history
  7. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    1eb597f View commit details
    Browse the repository at this point in the history
  8. Basics of exporting all arities for a function

    This was suggested in alpaca-lang#63.  It's not actually part of the AST generation
    phase yet but it made sense to handle this at the same time as function
    imports for alpaca-lang#62.  I'm going to decouple the basic parsing pass from the
    renaming and rewriting pass of the parser since rewriting the names of
    imported functions to inter-module calls will require the other modules
    to already be parsed and accessible.
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    7d67400 View commit details
    Browse the repository at this point in the history
  9. Import expansion

    Not yet integrated into the actual parsing path.
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    e9d6584 View commit details
    Browse the repository at this point in the history
  10. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    3dd0a8f View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    030e64d View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    44c1ced View commit details
    Browse the repository at this point in the history
  13. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    639d2cc View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    1f560be View commit details
    Browse the repository at this point in the history
  15. Fix some whitespace issues

    * fix whitespace regex to cover whitespace other than spaces
    * fix block comment regex to cover more edge cases
    * fix line comment regex
    * add basic framework for property based testing using proper
    * property test for compiling generated module declarations
    ypaq authored and j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    775755f View commit details
    Browse the repository at this point in the history
  16. All tests now pass

    lepoetemaudit authored and j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    e685e85 View commit details
    Browse the repository at this point in the history
  17. Basic function import syntax

    Haven't done the proper AST rewriting yet.  My intention is to rewrite
    any local reference to a function that doesn't exist to an inter-module
    application using the first import that satisfies it during the
    rebinding stage of AST generation.
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    a2ef4de View commit details
    Browse the repository at this point in the history
  18. Basics of exporting all arities for a function

    This was suggested in alpaca-lang#63.  It's not actually part of the AST generation
    phase yet but it made sense to handle this at the same time as function
    imports for alpaca-lang#62.  I'm going to decouple the basic parsing pass from the
    renaming and rewriting pass of the parser since rewriting the names of
    imported functions to inter-module calls will require the other modules
    to already be parsed and accessible.
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    c33091d View commit details
    Browse the repository at this point in the history
  19. Basic function import syntax

    Haven't done the proper AST rewriting yet.  My intention is to rewrite
    any local reference to a function that doesn't exist to an inter-module
    application using the first import that satisfies it during the
    rebinding stage of AST generation.
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    e5562f6 View commit details
    Browse the repository at this point in the history
  20. Basics of exporting all arities for a function

    This was suggested in alpaca-lang#63.  It's not actually part of the AST generation
    phase yet but it made sense to handle this at the same time as function
    imports for alpaca-lang#62.  I'm going to decouple the basic parsing pass from the
    renaming and rewriting pass of the parser since rewriting the names of
    imported functions to inter-module calls will require the other modules
    to already be parsed and accessible.
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    0d6616c View commit details
    Browse the repository at this point in the history
  21. Import expansion

    Not yet integrated into the actual parsing path.
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    ea9f61c View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    fadbf35 View commit details
    Browse the repository at this point in the history
  23. Literal check for values in parser

    lepoetemaudit authored and j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    3e4577c View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    f4d763f View commit details
    Browse the repository at this point in the history
  25. Adt constructor literal check

    lepoetemaudit authored and j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    72af0cf View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    70361df View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    44f94dc View commit details
    Browse the repository at this point in the history
  28. Fix some whitespace issues

    * fix whitespace regex to cover whitespace other than spaces
    * fix block comment regex to cover more edge cases
    * fix line comment regex
    * add basic framework for property based testing using proper
    * property test for compiling generated module declarations
    ypaq authored and j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    fcbdb57 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    1d371e3 View commit details
    Browse the repository at this point in the history
  30. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    7b9589a View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    e96b09e View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    fcc6b64 View commit details
    Browse the repository at this point in the history
  33. All tests now pass

    lepoetemaudit authored and j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    05f1024 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    a7cfc5e View commit details
    Browse the repository at this point in the history
  35. Generate type declarations

    ypaq authored and j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    9c14624 View commit details
    Browse the repository at this point in the history
  36. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    1ae2801 View commit details
    Browse the repository at this point in the history
  37. Use an environment record in AST rewriting

    Rather than adding the set of available modules as another parameter,
    thread an environment record through the rewriting stages that tracks
    all of this stuff and makes it easier to expand upon later if
    necessary.
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    f6f1380 View commit details
    Browse the repository at this point in the history
  38. Resolve imports to module:fun AST nodes

    Lets us use module.fun/arity for things like x |> module.fun/1 or
    simpler with x |> module.fun.  Using function names like this without
    module and arity qualifications will work as well.
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    c19a4b6 View commit details
    Browse the repository at this point in the history
  39. Basic function import syntax

    Haven't done the proper AST rewriting yet.  My intention is to rewrite
    any local reference to a function that doesn't exist to an inter-module
    application using the first import that satisfies it during the
    rebinding stage of AST generation.
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    f9829a9 View commit details
    Browse the repository at this point in the history
  40. Basics of exporting all arities for a function

    This was suggested in alpaca-lang#63.  It's not actually part of the AST generation
    phase yet but it made sense to handle this at the same time as function
    imports for alpaca-lang#62.  I'm going to decouple the basic parsing pass from the
    renaming and rewriting pass of the parser since rewriting the names of
    imported functions to inter-module calls will require the other modules
    to already be parsed and accessible.
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    e5bd41d View commit details
    Browse the repository at this point in the history
  41. Import expansion

    Not yet integrated into the actual parsing path.
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    1e64e62 View commit details
    Browse the repository at this point in the history
  42. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    a5ad77e View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    315d993 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    7e39456 View commit details
    Browse the repository at this point in the history
  45. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    ed20bb2 View commit details
    Browse the repository at this point in the history
  46. Use an environment record in AST rewriting

    Rather than adding the set of available modules as another parameter,
    thread an environment record through the rewriting stages that tracks
    all of this stuff and makes it easier to expand upon later if
    necessary.
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    52ecb56 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    88fb3cd View commit details
    Browse the repository at this point in the history
  48. Literal check for values in parser

    lepoetemaudit authored and j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    722178f View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    2ed03f0 View commit details
    Browse the repository at this point in the history
  50. Adt constructor literal check

    lepoetemaudit authored and j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    76c5343 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    b4b7bc4 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    90c5300 View commit details
    Browse the repository at this point in the history
  53. Fix some whitespace issues

    * fix whitespace regex to cover whitespace other than spaces
    * fix block comment regex to cover more edge cases
    * fix line comment regex
    * add basic framework for property based testing using proper
    * property test for compiling generated module declarations
    ypaq authored and j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    71dacef View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    50d95a2 View commit details
    Browse the repository at this point in the history
  55. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    3ca96a1 View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    3a4654f View commit details
    Browse the repository at this point in the history
  57. All tests now pass

    lepoetemaudit authored and j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    d33e471 View commit details
    Browse the repository at this point in the history
  58. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    444fd91 View commit details
    Browse the repository at this point in the history
  59. Basics of exporting all arities for a function

    This was suggested in alpaca-lang#63.  It's not actually part of the AST generation
    phase yet but it made sense to handle this at the same time as function
    imports for alpaca-lang#62.  I'm going to decouple the basic parsing pass from the
    renaming and rewriting pass of the parser since rewriting the names of
    imported functions to inter-module calls will require the other modules
    to already be parsed and accessible.
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    cfba1e8 View commit details
    Browse the repository at this point in the history
  60. Import expansion

    Not yet integrated into the actual parsing path.
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    5d810d0 View commit details
    Browse the repository at this point in the history
  61. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    84457fc View commit details
    Browse the repository at this point in the history
  62. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    797a2b3 View commit details
    Browse the repository at this point in the history
  63. Use an environment record in AST rewriting

    Rather than adding the set of available modules as another parameter,
    thread an environment record through the rewriting stages that tracks
    all of this stuff and makes it easier to expand upon later if
    necessary.
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    a23cb3f View commit details
    Browse the repository at this point in the history
  64. Simple import/export examples in the tour docs

    Added top-level `let`s since I was alread in there.
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    fbe4d1d View commit details
    Browse the repository at this point in the history
  65. Top-level lets in README.md

    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    bb322d0 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    0a72312 View commit details
    Browse the repository at this point in the history
  67. Fix some whitespace issues

    * fix whitespace regex to cover whitespace other than spaces
    * fix block comment regex to cover more edge cases
    * fix line comment regex
    * add basic framework for property based testing using proper
    * property test for compiling generated module declarations
    ypaq authored and j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    7db2906 View commit details
    Browse the repository at this point in the history
  68. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    b89d658 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    db7e1d4 View commit details
    Browse the repository at this point in the history
  70. All tests now pass

    lepoetemaudit authored and j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    c19b1cc View commit details
    Browse the repository at this point in the history
  71. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    b1ebe47 View commit details
    Browse the repository at this point in the history
  72. Basics of exporting all arities for a function

    This was suggested in alpaca-lang#63.  It's not actually part of the AST generation
    phase yet but it made sense to handle this at the same time as function
    imports for alpaca-lang#62.  I'm going to decouple the basic parsing pass from the
    renaming and rewriting pass of the parser since rewriting the names of
    imported functions to inter-module calls will require the other modules
    to already be parsed and accessible.
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    4f8be78 View commit details
    Browse the repository at this point in the history
  73. Import expansion

    Not yet integrated into the actual parsing path.
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    bbfdf0c View commit details
    Browse the repository at this point in the history
  74. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    88623aa View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    c9bb2a5 View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    42b3eec View commit details
    Browse the repository at this point in the history
  77. Single multiple module AST generation function

    make_modules/1 takes a list of source code strings to parse and rewrite
    as proper modules with imports and exports expanded.  Expanded exports
    now work so we can do things like `export foo` instead of `export foo/1,
    foo/2`.  Rewriting functions not defined in the module to inter-module
    calls using imports is not yet done but I think because of the
    increasing amount of changes it's worth integrating now, if only to get
    the export changes in.
    
    Fixes alpaca-lang#63
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    cb9e56c View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    e83503a View commit details
    Browse the repository at this point in the history
  79. Fix some whitespace issues

    * fix whitespace regex to cover whitespace other than spaces
    * fix block comment regex to cover more edge cases
    * fix line comment regex
    * add basic framework for property based testing using proper
    * property test for compiling generated module declarations
    ypaq authored and j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    444b9f5 View commit details
    Browse the repository at this point in the history
  80. All tests now pass

    lepoetemaudit authored and j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    65be58b View commit details
    Browse the repository at this point in the history
  81. Basic function import syntax

    Haven't done the proper AST rewriting yet.  My intention is to rewrite
    any local reference to a function that doesn't exist to an inter-module
    application using the first import that satisfies it during the
    rebinding stage of AST generation.
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    bb3498a View commit details
    Browse the repository at this point in the history
  82. Basics of exporting all arities for a function

    This was suggested in alpaca-lang#63.  It's not actually part of the AST generation
    phase yet but it made sense to handle this at the same time as function
    imports for alpaca-lang#62.  I'm going to decouple the basic parsing pass from the
    renaming and rewriting pass of the parser since rewriting the names of
    imported functions to inter-module calls will require the other modules
    to already be parsed and accessible.
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    b0318e5 View commit details
    Browse the repository at this point in the history
  83. Merge branch 'import-funs' of github.com:j14159/alpaca into import-funs

    Was ping-ponging merging upstream alpaca master into my import-funs
    branch and my remote import-funs branch back into mine.  The merge
    mostly amounted to fixing some whitespace conflicts, ordering of two
    function versions and removing a test that doesn't appear to be in
    upstream alpaca's master anyhow.
    j14159 committed Jan 7, 2017
    Configuration menu
    Copy the full SHA
    c9e9303 View commit details
    Browse the repository at this point in the history