public inbox for ~johnnyrichard/olang-devel@lists.sr.ht
 help / color / mirror / code / Atom feed
* [PATCH olang v1 0/2] parser: implement else branching
@ 2024-09-09 23:54 Johnny Richard
  2024-09-09 22:06 ` Carlos Maniero
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Johnny Richard @ 2024-09-09 23:54 UTC (permalink / raw)
  To: ~johnnyrichard/olang-devel; +Cc: Johnny Richard

We still need to implement the codegen to get it fully functional.

Johnny Richard (2):
  lexer: add support to else keyword token
  parser: add support to else branch

 src/ast.c                                     |  3 +-
 src/ast.h                                     |  3 +-
 src/lexer.c                                   |  5 +++
 src/lexer.h                                   |  1 +
 src/parser.c                                  | 40 ++++++++++++++----
 src/pretty_print_ast.c                        |  5 +++
 .../integration/tests/0023_else_statement.ol  | 42 +++++++++++++++++++
 7 files changed, 90 insertions(+), 9 deletions(-)
 create mode 100644 tests/integration/tests/0023_else_statement.ol


base-commit: 705f54e830e50d0c069cf1e2c76bda4204bd9dcc
-- 
2.46.0


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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-09 23:54 [PATCH olang v1 0/2] parser: implement else branching Johnny Richard
2024-09-09 22:06 ` Carlos Maniero
2024-09-09 23:54 ` [PATCH olang v1 1/2] lexer: add support to else keyword token Johnny Richard
2024-09-09 23:54 ` [PATCH olang v1 2/2] parser: add support to else branch 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