<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ull.git/src/backend/utils, branch master</title>
<subtitle>A [WIP] C compiler built with GNU Guile, Flex, and Bison</subtitle>
<id>https://git.operationnull.com/ull.git/atom?h=master</id>
<link rel='self' href='https://git.operationnull.com/ull.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.operationnull.com/ull.git/'/>
<updated>2025-01-28T19:39:47+00:00</updated>
<entry>
<title>[Ongoing] Rewrite frontend to use Flex/Bison</title>
<updated>2025-01-28T19:39:47+00:00</updated>
<author>
<name>bd</name>
<email>bdunahu@operationnull.com</email>
</author>
<published>2025-01-28T19:39:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.operationnull.com/ull.git/commit/?id=9e09767e23a4edb6b31540195bfe885f83e080d7'/>
<id>urn:sha1:9e09767e23a4edb6b31540195bfe885f83e080d7</id>
<content type='text'>
This is a merge of another experiment, so the changes are large:

- separated "modules" directory into frontend/backend
  - adjusted module names and moved files for this to happen
- removed modules lexer &amp; parser
- removed all the unit tests (most were outdated)
- added Bison, flex, and C development tools to manifest.scm
- added lexer.l, a source file used by the flex utility with a functioning lexing implementation
- added parser.y, a source file used by the bison utility with a functioning parser implementation
- added node.c and node.h, which parser.y uses to construct an AST of a C source file (up to binary ops)
- added driver.c, a Guile-C interface that provides a module to scheme programs
- added a Makefile to make all of this
- added stuff to .gitignore
</content>
</entry>
</feed>
