Thank you for having interest in this repository. You may come to this page to know how you can fix your inconvenience. To contribute/improve codes of Haskell parts of this project, please follow step A. To contribute/improve codes of C/LLVM parts of this project, please follow step B.
To download and build the haskell codes in this project completely, you need the following commands/tools.
However, if you want to change only a part of this project, you may not need all of these. More specifically,
- All packages other than
minicute-llvm-generator
andminicute-minicute-compiler
These packages do not requirellvm
(includingllc
andopt
). minicute-llvm-generator
andminicute-minicute-compiler
These packages require all of those tools.
You can download this repository using git
.
git clone https://github.com/CUTE-Lang/miniCUTE.git
cd miniCUTE
To compile and to test this project, we recommend using stack
.
After installing stack
, use the following commands to compile this project,
stack build # To bulid all packages (require LLVM)
stack build minicute-common-syntax # To build minicute-common-syntax only
and use the next commands to test this.
stack test # To test all packages (require LLVM)
stack test minicute-common-syntax # To test minicute-common-syntax only
When you change codes, please check whether your patches are compiled and pass the tests.
After making changes, you may want to share your modifications. To share it on this repository, you need to make a PR.
To make a PR,
- Fork this repository with "Fork" button.
- Push your changes to your forked repository via
git
. - Go to "Pull requests" tab of this repository.
- Click "New pull request" button.
- Click "compare across forks" text.
- Choose your forked repository and your updated branch.
- Click "Preview" tab to select template.
- Choose an appropriate template.
- Fill the form you get.
- Click "Create pull request".
After making a PR, we will review your PR.
Again, thank you for paying attention to this project!
To download and build the C codes in this project completely, you need the following commands/tools.
You can download this repository using git
.
git clone https://github.com/CUTE-Lang/miniCUTE.git
cd miniCUTE
To build the C parts, use the following commands in the runtime
directory of cloned directory.
make
After making changes, you may want to share your modifications. To share it on this repository, you need to make a PR.
To make a PR,
- Fork this repository with "Fork" button.
- Push your changes to your forked repository via
git
. - Go to "Pull requests" tab of this repository.
- Click "New pull request" button.
- Click "compare across forks" text.
- Choose your forked repository and your updated branch.
- Click "Preview" tab to select template.
- Choose an appropriate template.
- Fill the form you get.
- Click "Create pull request".
After making a PR, we will review your PR.
Again, thank you for paying attention to this project!