From: Johnny Richard <johnny@johnnyrichard.com>
To: ~johnnyrichard/olang-devel@lists.sr.ht
Cc: Johnny Richard <johnny@johnnyrichard.com>
Subject: [PATCH olang v1 0/2] Introduce CLI option for improved AST tree visualization
Date: Mon, 25 Mar 2024 23:36:10 +0100 [thread overview]
Message-ID: <20240325223715.459442-1-johnny@johnnyrichard.com> (raw)
Johnny Richard (2):
cli: add new option to pretty print AST tree
cli: remove code duplication
docs/manpages/olang.md | 4 +
src/cli.c | 5 +-
src/cli.h | 3 +-
src/main.c | 34 ++++-
src/pretty_print_ast.c | 286 +++++++++++++++++++++++++++++++++++++++++
src/pretty_print_ast.h | 25 ++++
6 files changed, 351 insertions(+), 6 deletions(-)
create mode 100644 src/pretty_print_ast.c
create mode 100644 src/pretty_print_ast.h
base-commit: ce5389c3835d0222a4f5f74c27f6bd06bbdd93c7
--
2.44.0
next reply other threads:[~2024-03-25 21:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-25 22:36 Johnny Richard [this message]
2024-03-25 22:36 ` [PATCH olang v1 1/2] cli: add new option to pretty print AST tree Johnny Richard
2024-03-25 22:36 ` [PATCH olang v1 2/2] cli: remove code duplication Johnny Richard
2024-03-25 21:37 ` [olang/patches/.build.yml] build failed builds.sr.ht
2024-03-26 2:32 ` Carlos Maniero
2024-03-26 2:35 ` Carlos Maniero
2024-03-26 2:30 ` [PATCH olang v1 2/2] cli: remove code duplication Carlos Maniero
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240325223715.459442-1-johnny@johnnyrichard.com \
--to=johnny@johnnyrichard.com \
--cc=~johnnyrichard/olang-devel@lists.sr.ht \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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