-
Notifications
You must be signed in to change notification settings - Fork 46
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
Commits on Dec 23, 2016
-
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.
Configuration menu - View commit details
-
Copy full SHA for 2671bd7 - Browse repository at this point
Copy the full SHA 2671bd7View commit details
Commits on Dec 30, 2016
-
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.
Configuration menu - View commit details
-
Copy full SHA for 98bc925 - Browse repository at this point
Copy the full SHA 98bc925View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0701d6d - Browse repository at this point
Copy the full SHA 0701d6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6855d7d - Browse repository at this point
Copy the full SHA 6855d7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26f601a - Browse repository at this point
Copy the full SHA 26f601aView commit details -
Configuration menu - View commit details
-
Copy full SHA for f246073 - Browse repository at this point
Copy the full SHA f246073View commit details -
Configuration menu - View commit details
-
Copy full SHA for b2d4f9e - Browse repository at this point
Copy the full SHA b2d4f9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d9b7c5 - Browse repository at this point
Copy the full SHA 6d9b7c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b268891 - Browse repository at this point
Copy the full SHA b268891View commit details -
* 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
Configuration menu - View commit details
-
Copy full SHA for ad3bc8d - Browse repository at this point
Copy the full SHA ad3bc8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 523f732 - Browse repository at this point
Copy the full SHA 523f732View commit details -
Configuration menu - View commit details
-
Copy full SHA for 32b2a05 - Browse repository at this point
Copy the full SHA 32b2a05View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe676bd - Browse repository at this point
Copy the full SHA fe676bdView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for ac25c7c - Browse repository at this point
Copy the full SHA ac25c7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92b8fa2 - Browse repository at this point
Copy the full SHA 92b8fa2View commit details
Commits on Dec 31, 2016
-
Configuration menu - View commit details
-
Copy full SHA for c69025f - Browse repository at this point
Copy the full SHA c69025fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 826bb13 - Browse repository at this point
Copy the full SHA 826bb13View commit details -
Configuration menu - View commit details
-
Copy full SHA for 228bc7d - Browse repository at this point
Copy the full SHA 228bc7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e8e974f - Browse repository at this point
Copy the full SHA e8e974fView commit details -
Configuration menu - View commit details
-
Copy full SHA for aa5e44b - Browse repository at this point
Copy the full SHA aa5e44bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 40179ac - Browse repository at this point
Copy the full SHA 40179acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43d3f50 - Browse repository at this point
Copy the full SHA 43d3f50View commit details
Commits on Jan 1, 2017
-
Configuration menu - View commit details
-
Copy full SHA for b652932 - Browse repository at this point
Copy the full SHA b652932View commit details
Commits on Jan 2, 2017
-
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
Configuration menu - View commit details
-
Copy full SHA for 8b51f8c - Browse repository at this point
Copy the full SHA 8b51f8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6464350 - Browse repository at this point
Copy the full SHA 6464350View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ea12db - Browse repository at this point
Copy the full SHA 0ea12dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 809736e - Browse repository at this point
Copy the full SHA 809736eView commit details -
Merge pull request alpaca-lang#88 from ypaq/ypaq-more-prop-tests
Add more property tests
Configuration menu - View commit details
-
Copy full SHA for 8effc8c - Browse repository at this point
Copy the full SHA 8effc8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 41586f8 - Browse repository at this point
Copy the full SHA 41586f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca29ba0 - Browse repository at this point
Copy the full SHA ca29ba0View commit details -
Configuration menu - View commit details
-
Copy full SHA for dccb43a - Browse repository at this point
Copy the full SHA dccb43aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5993627 - Browse repository at this point
Copy the full SHA 5993627View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97efe01 - Browse repository at this point
Copy the full SHA 97efe01View commit details -
Configuration menu - View commit details
-
Copy full SHA for 058b1a2 - Browse repository at this point
Copy the full SHA 058b1a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b9c1dc - Browse repository at this point
Copy the full SHA 3b9c1dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 642a0c2 - Browse repository at this point
Copy the full SHA 642a0c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d4d13a - Browse repository at this point
Copy the full SHA 7d4d13aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 24a8295 - Browse repository at this point
Copy the full SHA 24a8295View commit details -
Configuration menu - View commit details
-
Copy full SHA for de3b07b - Browse repository at this point
Copy the full SHA de3b07bView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for b116610 - Browse repository at this point
Copy the full SHA b116610View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for d90e31c - Browse repository at this point
Copy the full SHA d90e31cView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 8f3caa5 - Browse repository at this point
Copy the full SHA 8f3caa5View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 14050fd - Browse repository at this point
Copy the full SHA 14050fdView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 90dd105 - Browse repository at this point
Copy the full SHA 90dd105View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3aac1a - Browse repository at this point
Copy the full SHA f3aac1aView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 3ee6012 - Browse repository at this point
Copy the full SHA 3ee6012View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9262ff3 - Browse repository at this point
Copy the full SHA 9262ff3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30367e1 - Browse repository at this point
Copy the full SHA 30367e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 507d143 - Browse repository at this point
Copy the full SHA 507d143View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 7e4c0b0 - Browse repository at this point
Copy the full SHA 7e4c0b0View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 903ca50 - Browse repository at this point
Copy the full SHA 903ca50View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for bfdc91f - Browse repository at this point
Copy the full SHA bfdc91fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c39ab5 - Browse repository at this point
Copy the full SHA 8c39ab5View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8f0895 - Browse repository at this point
Copy the full SHA a8f0895View commit details
Commits on Jan 3, 2017
-
Configuration menu - View commit details
-
Copy full SHA for cf82af5 - Browse repository at this point
Copy the full SHA cf82af5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1dc2bc - Browse repository at this point
Copy the full SHA f1dc2bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f3d29b - Browse repository at this point
Copy the full SHA 0f3d29bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 659b9c3 - Browse repository at this point
Copy the full SHA 659b9c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf86309 - Browse repository at this point
Copy the full SHA bf86309View commit details -
Configuration menu - View commit details
-
Copy full SHA for e453bd7 - Browse repository at this point
Copy the full SHA e453bd7View commit details -
* 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
Configuration menu - View commit details
-
Copy full SHA for c7e0130 - Browse repository at this point
Copy the full SHA c7e0130View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1f5a18 - Browse repository at this point
Copy the full SHA a1f5a18View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 1fe37bd - Browse repository at this point
Copy the full SHA 1fe37bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4816aaf - Browse repository at this point
Copy the full SHA 4816aafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b60bea - Browse repository at this point
Copy the full SHA 0b60beaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 64c3f7b - Browse repository at this point
Copy the full SHA 64c3f7bView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 9a920af - Browse repository at this point
Copy the full SHA 9a920afView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 3b20214 - Browse repository at this point
Copy the full SHA 3b20214View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for e8a0190 - Browse repository at this point
Copy the full SHA e8a0190View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09458a5 - Browse repository at this point
Copy the full SHA 09458a5View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 4d07008 - Browse repository at this point
Copy the full SHA 4d07008View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for e2f5063 - Browse repository at this point
Copy the full SHA e2f5063View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 452bd0f - Browse repository at this point
Copy the full SHA 452bd0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for db62e26 - Browse repository at this point
Copy the full SHA db62e26View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b1f321 - Browse repository at this point
Copy the full SHA 1b1f321View commit details -
Simple import/export examples in the tour docs
Added top-level `let`s since I was alread in there.
Configuration menu - View commit details
-
Copy full SHA for 581ff86 - Browse repository at this point
Copy the full SHA 581ff86View commit details
Commits on Jan 4, 2017
-
Configuration menu - View commit details
-
Copy full SHA for ab1cdb8 - Browse repository at this point
Copy the full SHA ab1cdb8View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1b9662 - Browse repository at this point
Copy the full SHA a1b9662View commit details
Commits on Jan 7, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 54422a5 - Browse repository at this point
Copy the full SHA 54422a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9728e4 - Browse repository at this point
Copy the full SHA b9728e4View commit details -
* 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
Configuration menu - View commit details
-
Copy full SHA for 3d9dc06 - Browse repository at this point
Copy the full SHA 3d9dc06View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for f93a26a - Browse repository at this point
Copy the full SHA f93a26aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 11d6c2b - Browse repository at this point
Copy the full SHA 11d6c2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c22f7eb - Browse repository at this point
Copy the full SHA c22f7ebView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 1eb597f - Browse repository at this point
Copy the full SHA 1eb597fView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 7d67400 - Browse repository at this point
Copy the full SHA 7d67400View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9d6584 - Browse repository at this point
Copy the full SHA e9d6584View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 3dd0a8f - Browse repository at this point
Copy the full SHA 3dd0a8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 030e64d - Browse repository at this point
Copy the full SHA 030e64dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 44c1ced - Browse repository at this point
Copy the full SHA 44c1cedView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 639d2cc - Browse repository at this point
Copy the full SHA 639d2ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f560be - Browse repository at this point
Copy the full SHA 1f560beView commit details -
* 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
Configuration menu - View commit details
-
Copy full SHA for 775755f - Browse repository at this point
Copy the full SHA 775755fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e685e85 - Browse repository at this point
Copy the full SHA e685e85View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for a2ef4de - Browse repository at this point
Copy the full SHA a2ef4deView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for c33091d - Browse repository at this point
Copy the full SHA c33091dView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for e5562f6 - Browse repository at this point
Copy the full SHA e5562f6View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 0d6616c - Browse repository at this point
Copy the full SHA 0d6616cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ea9f61c - Browse repository at this point
Copy the full SHA ea9f61cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fadbf35 - Browse repository at this point
Copy the full SHA fadbf35View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e4577c - Browse repository at this point
Copy the full SHA 3e4577cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f4d763f - Browse repository at this point
Copy the full SHA f4d763fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72af0cf - Browse repository at this point
Copy the full SHA 72af0cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70361df - Browse repository at this point
Copy the full SHA 70361dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 44f94dc - Browse repository at this point
Copy the full SHA 44f94dcView commit details -
* 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
Configuration menu - View commit details
-
Copy full SHA for fcbdb57 - Browse repository at this point
Copy the full SHA fcbdb57View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d371e3 - Browse repository at this point
Copy the full SHA 1d371e3View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 7b9589a - Browse repository at this point
Copy the full SHA 7b9589aView commit details -
Configuration menu - View commit details
-
Copy full SHA for e96b09e - Browse repository at this point
Copy the full SHA e96b09eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fcc6b64 - Browse repository at this point
Copy the full SHA fcc6b64View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05f1024 - Browse repository at this point
Copy the full SHA 05f1024View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7cfc5e - Browse repository at this point
Copy the full SHA a7cfc5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c14624 - Browse repository at this point
Copy the full SHA 9c14624View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 1ae2801 - Browse repository at this point
Copy the full SHA 1ae2801View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for f6f1380 - Browse repository at this point
Copy the full SHA f6f1380View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for c19a4b6 - Browse repository at this point
Copy the full SHA c19a4b6View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for f9829a9 - Browse repository at this point
Copy the full SHA f9829a9View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for e5bd41d - Browse repository at this point
Copy the full SHA e5bd41dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e64e62 - Browse repository at this point
Copy the full SHA 1e64e62View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for a5ad77e - Browse repository at this point
Copy the full SHA a5ad77eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 315d993 - Browse repository at this point
Copy the full SHA 315d993View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e39456 - Browse repository at this point
Copy the full SHA 7e39456View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for ed20bb2 - Browse repository at this point
Copy the full SHA ed20bb2View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 52ecb56 - Browse repository at this point
Copy the full SHA 52ecb56View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88fb3cd - Browse repository at this point
Copy the full SHA 88fb3cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 722178f - Browse repository at this point
Copy the full SHA 722178fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ed03f0 - Browse repository at this point
Copy the full SHA 2ed03f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76c5343 - Browse repository at this point
Copy the full SHA 76c5343View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4b7bc4 - Browse repository at this point
Copy the full SHA b4b7bc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90c5300 - Browse repository at this point
Copy the full SHA 90c5300View commit details -
* 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
Configuration menu - View commit details
-
Copy full SHA for 71dacef - Browse repository at this point
Copy the full SHA 71dacefView commit details -
Configuration menu - View commit details
-
Copy full SHA for 50d95a2 - Browse repository at this point
Copy the full SHA 50d95a2View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 3ca96a1 - Browse repository at this point
Copy the full SHA 3ca96a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a4654f - Browse repository at this point
Copy the full SHA 3a4654fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d33e471 - Browse repository at this point
Copy the full SHA d33e471View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 444fd91 - Browse repository at this point
Copy the full SHA 444fd91View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for cfba1e8 - Browse repository at this point
Copy the full SHA cfba1e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d810d0 - Browse repository at this point
Copy the full SHA 5d810d0View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 84457fc - Browse repository at this point
Copy the full SHA 84457fcView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 797a2b3 - Browse repository at this point
Copy the full SHA 797a2b3View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for a23cb3f - Browse repository at this point
Copy the full SHA a23cb3fView commit details -
Simple import/export examples in the tour docs
Added top-level `let`s since I was alread in there.
Configuration menu - View commit details
-
Copy full SHA for fbe4d1d - Browse repository at this point
Copy the full SHA fbe4d1dView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb322d0 - Browse repository at this point
Copy the full SHA bb322d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a72312 - Browse repository at this point
Copy the full SHA 0a72312View commit details -
* 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
Configuration menu - View commit details
-
Copy full SHA for 7db2906 - Browse repository at this point
Copy the full SHA 7db2906View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for b89d658 - Browse repository at this point
Copy the full SHA b89d658View commit details -
Configuration menu - View commit details
-
Copy full SHA for db7e1d4 - Browse repository at this point
Copy the full SHA db7e1d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c19b1cc - Browse repository at this point
Copy the full SHA c19b1ccView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for b1ebe47 - Browse repository at this point
Copy the full SHA b1ebe47View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 4f8be78 - Browse repository at this point
Copy the full SHA 4f8be78View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbfdf0c - Browse repository at this point
Copy the full SHA bbfdf0cView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 88623aa - Browse repository at this point
Copy the full SHA 88623aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for c9bb2a5 - Browse repository at this point
Copy the full SHA c9bb2a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 42b3eec - Browse repository at this point
Copy the full SHA 42b3eecView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for cb9e56c - Browse repository at this point
Copy the full SHA cb9e56cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e83503a - Browse repository at this point
Copy the full SHA e83503aView commit details -
* 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
Configuration menu - View commit details
-
Copy full SHA for 444b9f5 - Browse repository at this point
Copy the full SHA 444b9f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65be58b - Browse repository at this point
Copy the full SHA 65be58bView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for bb3498a - Browse repository at this point
Copy the full SHA bb3498aView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for b0318e5 - Browse repository at this point
Copy the full SHA b0318e5View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for c9e9303 - Browse repository at this point
Copy the full SHA c9e9303View commit details