hi, for people starting to use PAST nodes, it might be difficult to get started, or not very clear what you can do with it. For instance, suppose you have a certain language construct to translate, you need to figure out which past nodes you have to create, and what attributes.
would it be an idea to create a document describing the PAST nodes by example, showing what the attributes do (what effect) and how the generated PIR is affected by the several options? an example is attached. If this isn't considered worhtwhile,I won't work on it any longer (I actually do have other stuff to do :-), but if this idea is thought to be a good idea, i'll work on it a bit more. Other people are invited to add stuff too :-) Also, we could also add "good practices" or whatever, smart tricks to get things done with PAST nodes. anyway, won't do it if it's not really useful. comments welcome, kjs
past_building_blocks.pod
Description: Binary data