public inbox for ~johnnyrichard/olang-devel@lists.sr.ht
 help / color / mirror / code / Atom feed
* [PATCH olang v3 0/2] spec: parser: enable expression on function level
@ 2024-10-10 16:29 Carlos Maniero
  2024-10-10 16:29 ` [PATCH olang v3 1/2] " Carlos Maniero
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Carlos Maniero @ 2024-10-10 16:29 UTC (permalink / raw)
  To: ~johnnyrichard/olang-devel; +Cc: Carlos Maniero

v3:
- transform the assignment expression into a binop
- fix unary precedence

Carlos Maniero (2):
  spec: parser: enable expression on function level
  parser: fix unary precedence

 docs/info/specification.texi      | 18 ++++++-------
 src/ast.c                         | 14 ----------
 src/ast.h                         |  2 +-
 src/checker.c                     |  8 ------
 src/codegen_linux_x86_64.c        | 35 ++++++++++++++-----------
 src/lexer.c                       |  1 +
 src/parser.c                      | 43 +++++--------------------------
 src/pretty_print_ast.c            | 40 ++++++++++++++++------------
 tests/olc/0029_var_assigment.ol   |  2 +-
 tests/olc/0030_while_statement.ol |  2 +-
 tests/olc/0034_pointers.ol        | 43 +++++++++++++++++++++++++++++++
 11 files changed, 107 insertions(+), 101 deletions(-)
 create mode 100644 tests/olc/0034_pointers.ol


base-commit: d45df92d81f00059ecd1f6478bac7e4511d9fd8d
-- 
2.46.1


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

end of thread, other threads:[~2024-10-10 22:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-10 16:29 [PATCH olang v3 0/2] spec: parser: enable expression on function level Carlos Maniero
2024-10-10 16:29 ` [PATCH olang v3 1/2] " Carlos Maniero
2024-10-10 16:29 ` [PATCH olang v3 2/2] parser: fix unary precedence Carlos Maniero
2024-10-10 16:30   ` [olang/patches/.build.yml] build success builds.sr.ht
2024-10-11  0:32 ` [PATCH olang v3 0/2] spec: parser: enable expression on function level 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