public inbox for ~johnnyrichard/olang-devel@lists.sr.ht
 help / color / mirror / code / Atom feed
* [PATCH olang 0/2] Rename program to translation unit
@ 2024-09-23 11:43 Carlos Maniero
  2024-09-23 11:43 ` [PATCH olang 1/2] ast: rename " Carlos Maniero
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Carlos Maniero @ 2024-09-23 11:43 UTC (permalink / raw)
  To: ~johnnyrichard/olang-devel; +Cc: Carlos Maniero

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-09-23 17:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-23 11:43 [PATCH olang 0/2] Rename program to translation unit Carlos Maniero
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

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