From: Carlos Maniero <carlos@maniero.me>
To: ~johnnyrichard/olang-devel@lists.sr.ht
Cc: Carlos Maniero <carlos@maniero.me>
Subject: [PATCH olang 0/2] Rename program to translation unit
Date: Mon, 23 Sep 2024 11:43:34 +0000 (UTC) [thread overview]
Message-ID: <20240923114330.120923-1-carlos@maniero.me> (raw)
We defined what we were calling program on the spec to translation unit.
Also the AST structure of a translation unit was changed to support
multiple declarations, yet it still only parsing one function.
Carlos Maniero (2):
ast: rename program to translation unit
ast: permit multi declarations on translation unit
src/ast.c | 11 +++++++----
src/ast.h | 12 ++++++------
src/checker.c | 9 +++++++--
src/codegen_linux_aarch64.c | 28 ++++++++++++++++++++++------
src/codegen_linux_aarch64.h | 2 +-
src/codegen_linux_x86_64.c | 28 ++++++++++++++++++++++------
src/codegen_linux_x86_64.h | 2 +-
src/main.c | 10 +++++-----
src/parser.c | 8 ++++++--
src/parser.h | 2 +-
src/pretty_print_ast.c | 15 ++++++++++++---
tests/unit/parser_test.c | 27 +++++++++++++++++----------
12 files changed, 107 insertions(+), 47 deletions(-)
base-commit: 761bd4304fe3df374d9ea77985bedde8edcdae46
--
2.34.1
next reply other threads:[~2024-09-23 11:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-23 11:43 Carlos Maniero [this message]
2024-09-23 11:43 ` [PATCH olang 1/2] ast: rename " Carlos Maniero
2024-09-23 11:43 ` [PATCH olang 2/2] ast: permit multi declarations on " Carlos Maniero
2024-09-23 11:44 ` [olang/patches/.build.yml] build success builds.sr.ht
2024-09-23 17:01 ` [PATCH olang 0/2] Rename program to translation unit Johnny Richard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240923114330.120923-1-carlos@maniero.me \
--to=carlos@maniero.me \
--cc=~johnnyrichard/olang-devel@lists.sr.ht \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.johnnyrichard.com/olang.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox