public inbox for ~johnnyrichard/olang-devel@lists.sr.ht
 help / color / mirror / code / Atom feed
* [PATCH olang v1 0/3] parse function definition params
@ 2024-09-23 22:19 Johnny Richard
  2024-09-23 22:19 ` [PATCH olang v1 1/3] spec: add function params and function call Johnny Richard
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Johnny Richard @ 2024-09-23 22:19 UTC (permalink / raw)
  To: ~johnnyrichard/olang-devel; +Cc: Johnny Richard

This first iteration we are implementing only the parsing, the codegen
will be implemented later.

Johnny Richard (3):
  spec: add function params and function call
  lexer: add token comma
  parser: parse function params

 docs/info/specification.texi           |  9 ++--
 src/ast.c                              | 19 +++++++-
 src/ast.h                              | 12 ++++-
 src/lexer.c                            |  6 +++
 src/lexer.h                            |  1 +
 src/parser.c                           | 66 ++++++++++++++++++++++----
 src/pretty_print_ast.c                 | 17 +++++++
 tests/olc/0027_function_with_params.ol | 50 +++++++++++++++++++
 8 files changed, 166 insertions(+), 14 deletions(-)
 create mode 100644 tests/olc/0027_function_with_params.ol


base-commit: d36d71cbfb7bd36d468b8a2f5a9a0a41d8546c8a
-- 
2.46.0


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

end of thread, other threads:[~2024-09-24  8:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-23 22:19 [PATCH olang v1 0/3] parse function definition params Johnny Richard
2024-09-23 22:19 ` [PATCH olang v1 1/3] spec: add function params and function call Johnny Richard
2024-09-23 22:19 ` [PATCH olang v1 2/3] lexer: add token comma Johnny Richard
2024-09-23 22:23   ` [olang/patches/.build.yml] build success builds.sr.ht
2024-09-23 22:20 ` [PATCH olang v1 3/3] parser: parse function params Johnny Richard
2024-09-24  8:03 ` [PATCH olang v1 0/3] parse function definition params Carlos Maniero

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