-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #131 from billhails/pettersson
Pettersson
- Loading branch information
Showing
57 changed files
with
1,337 additions
and
562 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ tmp_scm/ | |
cekf | ||
pratt_test | ||
tags | ||
xref | ||
.generated | ||
.*.swp | ||
.$*.drawio.* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
print (car of cdr of cdr)([[], [], ['a']]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Rewrite | ||
|
||
An exploratory sub-project to investigate re-writing F♯ in F♯. For | ||
this to be practical we would need to target LLVM rather than a bytecode | ||
interpreter. | ||
|
||
* [ceskf.fn](ceskf.fn) - The core CESKF machine. | ||
* [infer.fn](infer.fn) - Type inference. | ||
* [interpreter.fn](interpreter.fn) - A naïve lambda interpreter demo. | ||
* [normalize.fn](normalize.fn) - ANF conversion. | ||
* [petterson92.fn](petterson92.fn) - Pettersson's Term Pattern Matching Compiler algorithm. | ||
* [pratt.fn](pratt.fn) - Pratt Parser. | ||
* [pratt_lexer.fn](pratt_lexer.fn) - Lexer Support for the Parser. | ||
* [pratt_sexpr.fn](pratt_sexpr.fn) - Target Symbolic Expressions for the parser. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.