From: Johnny Richard <johnny@johnnyrichard.com>
To: ~johnnyrichard/olang-devel@lists.sr.ht
Cc: Johnny Richard <johnny@johnnyrichard.com>
Subject: [PATCH olang v2 0/2] introduce hash map data structure
Date: Tue, 27 Feb 2024 20:59:06 +0100 [thread overview]
Message-ID: <20240227195958.12551-1-johnny@johnnyrichard.com> (raw)
This patchset creates a simple hash map implementation. We need this
data structure before start implementing the parser. After this patchset
I believe we should be able to start the parser.
Johnny Richard (2):
build: add clean target on root Makefile
utils: create hash map data structure
Makefile | 6 ++
src/map.c | 140 ++++++++++++++++++++++++++++++++++++++++++
src/map.h | 59 ++++++++++++++++++
tests/unit/map_test.c | 77 +++++++++++++++++++++++
4 files changed, 282 insertions(+)
create mode 100644 src/map.c
create mode 100644 src/map.h
create mode 100644 tests/unit/map_test.c
--
2.43.2
next reply other threads:[~2024-02-27 19:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-27 19:59 Johnny Richard [this message]
2024-02-27 19:59 ` [PATCH olang v2 1/2] build: add clean target on root Makefile Johnny Richard
2024-02-27 19:59 ` [PATCH olang v2 2/2] utils: create hash map data structure Johnny Richard
2024-02-27 19:01 ` [olang/patches/.build.yml] build success builds.sr.ht
2024-02-27 23:11 ` [PATCH olang v2 2/2] utils: create hash map data structure 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=20240227195958.12551-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