public inbox for ~johnnyrichard/olang-devel@lists.sr.ht
 help / color / mirror / code / Atom feed
* [PATCH olang v2 0/3] frontend: add binary operation expr support
@ 2024-03-17 21:29 Johnny Richard
  2024-03-17 21:29 ` [PATCH olang v2 1/3] lexer: add tokenize support to binary op tokens Johnny Richard
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Johnny Richard @ 2024-03-17 21:29 UTC (permalink / raw)
  To: ~johnnyrichard/olang-devel; +Cc: Johnny Richard

This patchset implements the frontend for parsing binary operation
expressions.  The backend implementation is not implemented on this
patch series.

Johnny Richard (3):
  lexer: add tokenize support to binary op tokens
  ast: create binary operation ast node
  parser: add all binary operation expressions

 examples/expression.ol        |   3 +
 src/ast.c                     |  14 +++
 src/ast.h                     |  34 ++++++
 src/lexer.c                   | 210 +++++++++++++++++++++++++++++++++-
 src/lexer.h                   |  29 +++++
 src/parser.c                  | 209 ++++++++++++++++++++++++++++++---
 tests/integration/cli_test.c  |  56 ++++++++-
 tests/integration/proc_exec.h |   3 +-
 8 files changed, 536 insertions(+), 22 deletions(-)
 create mode 100644 examples/expression.ol


base-commit: b34e6e1e8dde2852c2d1b050b6ac882605959180
-- 
2.44.0


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

end of thread, other threads:[~2024-03-18  7:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-17 21:29 [PATCH olang v2 0/3] frontend: add binary operation expr support Johnny Richard
2024-03-17 21:29 ` [PATCH olang v2 1/3] lexer: add tokenize support to binary op tokens Johnny Richard
2024-03-18  0:30   ` Carlos Maniero
2024-03-18  8:49     ` Johnny Richard
2024-03-17 21:29 ` [PATCH olang v2 2/3] ast: create binary operation ast node Johnny Richard
2024-03-17 21:29 ` [PATCH olang v2 3/3] parser: add all binary operation expressions Johnny Richard
2024-03-17 20:37   ` [olang/patches/.build.yml] build success builds.sr.ht

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