Alloy is a work in progress programming language, read the reference to find out more about the plans, syntax, etc. Please note that the language is constantly being changed, so the Reference may be outdated, or a little bit behind the master.
Alloy is a work in progress, if you would like to contribute to the creation of the language, or just give it a go, you will need a few things:
- GCC/Clang (another compiler may work, but we test it works on these mostly)
- Make
$ git clone http://www.github.com/alloy-lang/alloy
$ cd alloy
$ makeAfter you make the project, the alloyc executable will be located in bin/alloyc. For a list of commands,
run the -h flag. There are test files under the tests/ directory, however the one in the example may not exist
if you are reading this in the future! We also can't guarantee that it will still work either!
The compilers generated code will be compiled with GCC by default, you can use a flag to change this however, see the code snippet!
bin/alloyc tests/factorial.ay
// IF YOU DO NOT HAVE GCC OR WANT TO USE CLANG FOR EXAMPLE, DO THIS!
bin/alloyc somefile.ay -compiler clang
// an executable will be created in your current directory called `main`
// run it like so...
./mainIf you are looking for some help, want to ask a question, or just want to talk to us for whatever reason, we have a few places where you can find us.
We have a subreddit, this is mostly to get it before someone else does, but a lot of the developers are active Redditors. So feel free to ask questions on there, etc. Link to the subreddit
We have no idea how this works, but apparently we should have one. You can find it here: Mailing List
We have an IRC where we discuss Alloy, and other stuff too. Come join! If you want to help contribute, we highly suggest you join the IRC (although we might not always be available due to time zone differences) :)
- server: irc.freenode.net
- channel: #alloy-lang
If you want to contribute, check out the CONTRIBUTING file.
Here are the people who are working, or have worked on Alloy.
- felixangell
- vnev
- haneefmubarak
- xhjo
- IanMurray
- requimrar
- ianhedoesit
- FelixWittmann
- paraxor
- andars
- theunamedguy
- antirez for the sds library
- petewarden for the hashmap library
Alloy is licensed under the MIT License.