summaryrefslogtreecommitdiff
path: root/examples/nq/Makefile
AgeCommit message (Collapse)AuthorLines
2023-02-01Fix unit testsTom Harley-0/+1
Now the unit tests will run again! :)
2020-01-25Committed version of codebaseTom Harley-1/+1
2020-01-11Make tail recursion mod cons toggleableTom Harley-1/+1
The tail recursion mod cons optimisation must now be enabled explicitly using `-O tail-recursion-mod-cons`.
2020-01-11Rename compiler to sincTom Harley-1/+1
2020-01-11Tidying upTom Harley-1/+0
- Removed unused example files - Removed redundant common.c - Added extra files to make sure the current version compiles the nqueens solution correctly - Added extensionless files to .gitignore - Added a way to install sinter
2020-01-11Added int width specifiersTom Harley-4/+7
The width of an int can be specified at the site of its creation. For example, the following function returns an int of width 2 bits and value 1: [def two_bit_int [] (2 1)] Ints can still be written the old way; in these cases the compiler looks for a default int bit-width (specified with the -w flag). If a default has not been defined, the compiler throws an error.
2020-01-08Add option to enable/disable boxingTom Harley-1/+1
Only affects atomic types, not structs. Accepts three options: - "-u always": always boxes - "-u never": never boxes - "-u smart": inserts a comparison of sizes, and boxes only if the item is bigger than a pointer. "smart" is smart in name only; I expected the comparison to be optimised away (since the sizes of the types are known at compile-time), but it seems to run significantly slower than the other options. Steps to improve: - try making the comparison compile-time (or, if it already is, find out why it's so slow);
2020-01-08I should commit moreTom Harley-0/+27