Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/costrouc/moa-grammar
Exploration of a Mathematics of Arrays Compiler
https://github.com/costrouc/moa-grammar
compiler hpc linear-algebra psi-calculus
Last synced: 16 days ago
JSON representation
Exploration of a Mathematics of Arrays Compiler
- Host: GitHub
- URL: https://github.com/costrouc/moa-grammar
- Owner: costrouc
- License: mit
- Created: 2018-06-09T19:06:34.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-14T19:45:59.000Z (over 6 years ago)
- Last Synced: 2024-11-07T07:53:01.268Z (2 months ago)
- Topics: compiler, hpc, linear-algebra, psi-calculus
- Language: Python
- Homepage:
- Size: 162 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**All issues and contributions should be done on
[Gitlab](https://gitlab.com/costrouc/moa-grammar). Github is used only as a
mirror for visibility**Coverage
# Mathematics of Arrays (MOA)
The purpose of this project is to help in understanding the MOA
grammar and be able to visualize the resulting ASTs. Work will
initially be based on the psi compiler written by [Lenore
Mullin](references/psi-compiler.pdf).The first step is to rewrite the compiler in Python. Not for
performance reasons but in order to explore the results and iterate
quickly.Work:
- [ ] compiler will be rewritten in Python
- [X] lexer of tokens
- [X] yacc of expressions works with most moa files (see note [1])
- [ ] calculate resulting shape at each expression
- [ ] reduce ast with psi compiler rules
- [ ] visualize the resulting AST for different problems
- [ ] compute number of flops required for calculation and predict performance
- [ ] write FFT, Matrix Multiply, and chained operations# Contributing
All contributions, bug reports, bug fixes, documentation improvements,
enhancements and ideas are welcome. These should be submitted at the
[Gitlab repository](https://gitlab.com/costrouc/moa-grammar). Github
is only used for visibility.# License
MIT