forked from axellang/axel
-
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.
Eval files and macros in the context of the current project, rather t…
…han in a separate ad-hoc directory This allows us to more easily implement module system support, since we don't have to worry about bringing everything into scope in our ad-hoc environment.
- Loading branch information
Showing
9 changed files
with
35 additions
and
167 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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name: axel | ||
version: '0.0.8' | ||
version: '0.0.9' | ||
category: Language, Lisp, Macros, Transpiler | ||
author: Joshua Grosso | ||
maintainer: [email protected] | ||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
module MacroDefinitionAndEnvironment where | ||
module AutogeneratedAxelMacroDefinitionAndEnvironment where |
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
module Scaffold where | ||
|
||
import Axel.Parse.AST | ||
import qualified MacroDefinitionAndEnvironment as MacroDefinitionAndEnvironment | ||
import qualified AutogeneratedAxelMacroDefinitionAndEnvironment | ||
|
||
main :: IO () | ||
main = do | ||
result <- | ||
MacroDefinitionAndEnvironment.%%%MACRO_NAME%%% %%%ARGUMENTS%%% | ||
AutogeneratedAxelMacroDefinitionAndEnvironment.%%%MACRO_NAME%%% %%%ARGUMENTS%%% | ||
putStrLn $ unlines $ map toAxel result |
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 was deleted.
Oops, something went wrong.