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

Johnny Richard (2):
  lexer: add support var keyword
  parser: add var definition and reference support

 src/ast.c                                     | 28 ++++++++++
 src/ast.h                                     | 22 ++++++++
 src/lexer.c                                   |  5 ++
 src/lexer.h                                   |  1 +
 src/parser.c                                  | 52 +++++++++++++++++++
 src/pretty_print_ast.c                        | 25 +++++++++
 .../integration/tests/0024_var_definition.ol  | 33 ++++++++++++
 7 files changed, 166 insertions(+)
 create mode 100644 tests/integration/tests/0024_var_definition.ol


base-commit: 8600ca34fb0fbae495a8737535aeffe4d44eb0ab
-- 
2.46.0


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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-11  1:03 [PATCH olang v1 0/2] parser: implement variable definition Johnny Richard
2024-09-10 23:15 ` Carlos Maniero
2024-09-11  1:03 ` [PATCH olang v1 1/2] lexer: add support var keyword Johnny Richard
2024-09-11  1:03 ` [PATCH olang v1 2/2] parser: add var definition and reference support Johnny Richard
2024-09-10 23:05   ` [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