Skip to content

Commit

Permalink
enable scm-slang macros (#94)
Browse files Browse the repository at this point in the history
* implement s-expression parsing mode for scheme

* format the entire "rest of the program" into a single "rest element"

* clean up logic for macro preparation, separate responsibilites

* adding "eval" to restricted JavaScript keywords

* implement verification of define-syntax and syntax-rules

* implement visitors for define-syntax and syntax-rules

* update parser
  • Loading branch information
Kyriel Abad authored Nov 2, 2024
1 parent 8151185 commit 9c0f35d
Show file tree
Hide file tree
Showing 16 changed files with 3,025 additions and 133 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const JS_KEYWORDS: string[] = [
"delete",
"do",
"else",
"eval",
"export",
"extends",
"false",
Expand Down
Loading

0 comments on commit 9c0f35d

Please sign in to comment.