<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sinter/examples/nq/Makefile, branch trh/submission</title>
<subtitle>Intermediate functional language that compiles to LLVMIR</subtitle>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/5th-year-coursework/sinter/'/>
<entry>
<title>Committed version of codebase</title>
<updated>2020-01-25T04:18:36+00:00</updated>
<author>
<name>Tom Harley</name>
</author>
<published>2020-01-25T04:18:36+00:00</published>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/5th-year-coursework/sinter/commit/?id=14ea550522551bcc9d9c736f65d2e4882bd989cb'/>
<id>14ea550522551bcc9d9c736f65d2e4882bd989cb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make tail recursion mod cons toggleable</title>
<updated>2020-01-11T22:55:19+00:00</updated>
<author>
<name>Tom Harley</name>
</author>
<published>2020-01-11T22:55:19+00:00</published>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/5th-year-coursework/sinter/commit/?id=9daf92178a175e2b40722d0becb732923fe262c5'/>
<id>9daf92178a175e2b40722d0becb732923fe262c5</id>
<content type='text'>
The tail recursion mod cons optimisation must now be enabled explicitly
using `-O tail-recursion-mod-cons`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The tail recursion mod cons optimisation must now be enabled explicitly
using `-O tail-recursion-mod-cons`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename compiler to sinc</title>
<updated>2020-01-11T20:12:20+00:00</updated>
<author>
<name>Tom Harley</name>
</author>
<published>2020-01-11T20:12:20+00:00</published>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/5th-year-coursework/sinter/commit/?id=c52a6bedb06d83adca8e5a89ec23d77967ae4cce'/>
<id>c52a6bedb06d83adca8e5a89ec23d77967ae4cce</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Tidying up</title>
<updated>2020-01-11T19:46:15+00:00</updated>
<author>
<name>Tom Harley</name>
</author>
<published>2020-01-11T19:46:15+00:00</published>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/5th-year-coursework/sinter/commit/?id=9e87372371794bc3e7d46698141966c00acaad0e'/>
<id>9e87372371794bc3e7d46698141966c00acaad0e</id>
<content type='text'>
- 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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- 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
</pre>
</div>
</content>
</entry>
<entry>
<title>Added int width specifiers</title>
<updated>2020-01-11T02:53:36+00:00</updated>
<author>
<name>Tom Harley</name>
</author>
<published>2020-01-11T02:53:36+00:00</published>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/5th-year-coursework/sinter/commit/?id=1a3dc02a18a9050877288a5867e44d9c47a53542'/>
<id>1a3dc02a18a9050877288a5867e44d9c47a53542</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add option to enable/disable boxing</title>
<updated>2020-01-08T23:47:14+00:00</updated>
<author>
<name>Tom Harley</name>
</author>
<published>2020-01-08T20:17:50+00:00</published>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/5th-year-coursework/sinter/commit/?id=505d8a2d364b3012455068d433ccec73cac38a50'/>
<id>505d8a2d364b3012455068d433ccec73cac38a50</id>
<content type='text'>
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);
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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);
</pre>
</div>
</content>
</entry>
<entry>
<title>I should commit more</title>
<updated>2020-01-08T14:14:39+00:00</updated>
<author>
<name>Tom Harley</name>
</author>
<published>2020-01-08T14:14:39+00:00</published>
<link rel='alternate' type='text/html' href='https://www.magnostherobot.co.uk/git.cgi/5th-year-coursework/sinter/commit/?id=4cdc57ce8041aecabd3175f2dff176b115f17724'/>
<id>4cdc57ce8041aecabd3175f2dff176b115f17724</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
