|
|
| Author |
Message |
|
| wboeke at hzsbg01.nl.luce |
Posted: Tue Feb 09, 1999 8:25 am |
|
|
|
Guest
|
--------------------------------------------------------------------
From: W.Boeke, Lucent Technologies, boeke_at_lucent.com
To : Erlang discussion group, erlang-questions_at_erlang.org
Date: febr 9, 1999
--------------------------------------------------------------------
Hi,
Tobbe, thanks for your helpful answer to my question about
associative arrays.
Here comes another (newbee) question. I must parse source code written
in some rather unstructured language, and I want to fill several
big AST's (abstract syntax trees) with the information that the
parser reads. Thus, the AST's are updated in a way that is not known
beforehand.
For the AST's I could take process dictionary variables, because these
can be updated destructively. However, for each small component that I
add to an AST, I would be oblighed to copy the whole AST, and add the
new component during this copy.
I am aware that this is an old issue for functional languages, and I am
shure that a nice pattern exists how to solve this in Erlang.
Kind regards,
Wouter Boeke
Post generated using Mail2Forum (http://m2f.sourceforge.net) |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|