[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Feature: @local declares local variables.
From: |
Kaz Kylheku |
Subject: |
[PATCH] Feature: @local declares local variables. |
Date: |
Sat, 09 Apr 2022 12:00:20 -0700 |
User-agent: |
Roundcube Webmail/1.4.13 |
Hi All,
Taking into account mailing list feedback (Manuel, Neil, Ed)
and my own ideas, I have produced a new patch that introduces
both a @local statement, and a @local: variable annotation.
The patch switches the fparms array of a function from
being a dynamically allocated array of NODE objects to
being a dynamically allocated array of NODE * pointers.
This allows us to reallocate it to a larger size without
changing the addresses of NODE objects, which are
already entered into the symbol table and into the
byte-code objects.
The patch is more extensive, touching the debugger,
profiler and pretty printing.
I have added documentation, but test cases are still missing.
This is still discussion level, proof-of-concept stage.
0001-Feature-local-declares-local-variables.patch
Description: Text Data
- [PATCH] Feature: @local declares local variables.,
Kaz Kylheku <=