The example file has gotten out of date, thanks for pointing this out. The attached example file fixes this. Also the lexical ops are documented in core.ops and in the file docs/core_ops.pod which is generated from the core.ops file at compile time. Also the tests in t/op/lexicals.t all work.
The document docs/parrot_assembly.pod is out of date, and it seems a shame to keep a simple doc for each op in two places ... so I am not sure about this doc. (Would someone like to put the attached file into examples/assembly and commit it? Also could someone look at the patch in #18419?) -- Jonathan Sillito > -----Original Message----- > From: David Robins [mailto:[EMAIL PROTECTED]] > > The hash_destroy function is in include/parrot/hash.h but not defined (or > invoked) anywhere. I presume this is because hashes are GC'd, so > hash_destroy can now be removed from the header file? > > I take it the design of lexicals is still undecided, as > examples/assembly/lexicals.pasm coughs up errors - ? For now, to make > things work I'll probably end up (ab)using a hash as a symbol table. > > Also the ChangeLog hasn't been updated since 2002-03-19, it would > be nice if > it was updated when ops are added or new PMC methods are defined > etc.; it's > a good central place to summarize major changes (why was it discontinued?) > > Dave > Isa. 40:31 >
lexical.pasm
Description: Binary data
lexical.pasm
Description: Binary data