vishapoberon / compiler

vishap oberon compiler
http://oberon.vishap.am
GNU General Public License v3.0
186 stars 25 forks source link

Documentation of voc internals #99

Open alaa-alawi opened 1 year ago

alaa-alawi commented 1 year ago

I'm looking for documentation for the internals of the voc compiler. I read the documentation coming with voc but nothing was discussing the ineternals in a similar fashion to N.W. compiler construction chapters 7 and 8

btreut commented 1 year ago

AFAIK, voc is based on Regis Crelier's OP2 compiler, so I would recommend to check the report available here: https://www.research-collection.ethz.ch/handle/20.500.11850/68707 and/or his PhD thesis: https://www.research-collection.ethz.ch/handle/20.500.11850/141604

MarkowEduard commented 1 year ago

There should be a reference in the documentation to Templ Josef's ofront. voc is an extended and elaborate version of ofront. Do you have any specific questions we might be able to answer?

alaa-alawi commented 1 year ago

Thanks for the reference I'll look into it. I'm just trying to understand the internals to be able to play with it and hack it. I'm not fast. but currently reading the source since 2 weeks but still could not wrap my head around it.

MarkowEduard commented 1 year ago

Great, keep up! I'm ready to support if you get stuck.

btreut commented 1 year ago

ofront in turn is based on OP2 ...

alaa-alawi commented 1 year ago

Thanks all! for the support and the project. The OP2 compiler paper really cleared a lot of things which seemed like black magic :) Especially when fields change meaning based on context of processing.

norayr commented 1 year ago

thank you everyone! maybe we should make this more clear in the readme. or add some links there.