diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-16 19:04:01 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-16 19:04:01 +0100 |
| commit | cc0b46b2f8d1fa0fa3c888d08efb3e54f8ecfc6e (patch) | |
| tree | 4344d2a8f91682a064a6ccbc43e7db9fb65b64c0 /example/example_02_nectar | |
| parent | 38e21d3cd9409d583c627fb9bd401db5dcbd6981 (diff) | |
chore: update and improve Nectar codegen.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'example/example_02_nectar')
| -rw-r--r-- | example/example_02_nectar/example.ncpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/example/example_02_nectar/example.ncpp b/example/example_02_nectar/example.ncpp new file mode 100644 index 0000000..214bc90 --- /dev/null +++ b/example/example_02_nectar/example.ncpp @@ -0,0 +1,11 @@ + +const main() { + let socket := socket(); + + main_process_socket() { + let readen := read(socket, 0, 0); + return; + } + + return main_process_socket(); +} |
