This website requires JavaScript.
Explore
Cloud
Chat
CI/CD
Help
Sign In
maxmustermann
/
pulumi
Watch
1
Star
0
Fork
You've already forked pulumi
0
Code
Issues
Pull requests
Projects
Releases
Wiki
Activity
4e1c4fb033
pulumi
/
tools
/
mujs
/
.gitignore
7 lines
50 B
Text
Raw
Normal View
History
Unescape
Escape
Implement the MuIL AST This is an initial implementation of the MuIL AST. The AST has been intentionally pared back to the bare essentials, leaving the task of lowering to the higher level MetaMu compilers. For example, there is only a single conditional statement, a single looping construct, etc. It is in the MuJS compiler package so that we can begin lowering TypeScript ASTs to this format and serializing them. We will need separate Go projections of these shapes in order to deserialize and evaluate programs to produce MuGL from within the runtime/evaluation engine. I'm sure the shape of these things will need to change -- and there are a handful of open questions -- however, this is a start...
2016-12-31 00:34:49 +01:00
*.swp
Add a new harness for test cases This adds a new test harness that will be used to run baseline-style tests. Each subdirectory underneath tests/output will be interpreted as a test case, each of which can contain an optional `messages.txt` file which will be compared as the expected output against the compiler's error and warning messages, and/or an optional `Mu.out.json` file which will be compared as the expected output against the compiler's output tree. There's just a single "empty" test case for now. I will start getting in the habit of checking in a companion test for each AST kind we lower.
2017-01-08 22:20:46 +01:00
npm-debug.log
Upgrade to latest TSLint, and compile cleanly
2016-12-31 20:16:36 +01:00
bin/
Add a new harness for test cases This adds a new test harness that will be used to run baseline-style tests. Each subdirectory underneath tests/output will be interpreted as a test case, each of which can contain an optional `messages.txt` file which will be compared as the expected output against the compiler's error and warning messages, and/or an optional `Mu.out.json` file which will be compared as the expected output against the compiler's output tree. There's just a single "empty" test case for now. I will start getting in the habit of checking in a companion test for each AST kind we lower.
2017-01-08 22:20:46 +01:00
coverage/
Implement the MuIL AST This is an initial implementation of the MuIL AST. The AST has been intentionally pared back to the bare essentials, leaving the task of lowering to the higher level MetaMu compilers. For example, there is only a single conditional statement, a single looping construct, etc. It is in the MuJS compiler package so that we can begin lowering TypeScript ASTs to this format and serializing them. We will need separate Go projections of these shapes in order to deserialize and evaluate programs to produce MuGL from within the runtime/evaluation engine. I'm sure the shape of these things will need to change -- and there are a handful of open questions -- however, this is a start...
2016-12-31 00:34:49 +01:00
node_modules/
Reference in a new issue
Copy permalink