-
Book Overview & Buying
-
Table Of Contents
Building Programming Language Interpreters
By :
To finalize the programming language design, it is important to start with the overall shape of what the language will look like, using specific use cases to drive changes to that design. Then, the overall shape can be refined until all of the use cases can be satisfied in a coherent way.
Once the overall shape of the language is set, the interaction between the language design and the type system design needs to be taken into consideration. The ways in which the user will specify types being used need to be evaluated with specific use cases, just like the overall shape of the language.
The design also needs to build a clear definition of the life cycle of values and explain how references are taken and how the user is meant to use them.
Finally, it’s only when the design is exercised with a complete use case that you can actually validate the design. It doesn’t matter that you don’t have a parser or an interpreter yet, but it’s important...
Change the font size
Change margin width
Change background colour