tags:

views:

21

answers:

0

I am writing my own language and i pretty much finished the rules in bison. Now what is left is implementing the right side. There are about 650 lines. The language is less complex then C but still fairly complex. I havent tried implementing the rules except for a test app to learn it. I had many segfaults but got the hang of it.

Each rule was a function call so potentially 600 of these lines are function calls so there may be 500+ functions. Where the functions fairly simple when you tried it? is most of the work these rules or all the other code not in the functions called? Is the effort about split in between?