How to extend this compiler and make a new complete one:

Features

- Modify the BNF grammar ('dc3.grm') by adding 'for', 'do..loop' statements and objects support (you can see the VBScript.grm file).
- Using
Gold Parser Builder, compile your new grammar to 'dc3.cgt' and generate the scheleton by choosing "Visual Basic - Constants Only" to file "modDC3Consts.bas".
- Modify the cProgram class by reflecting the changes.

The Virtual Machine

- You can rewrite the Virtual Machine in C/C++ so it can be used without the VB6 runtime libraries and it will be faster.

ByteCode

- You can modify the cByteCode class to generate I386 compatible code so you don't need a Virtual Machine.

Reserved Functions

- Add the function prototype to file "dc3res.vb"
- Modify the class cResSymbols adding the new function
- Modify the class cVirtualMachine to manage the function
Copyright 2005 by Lorenzi Davide, created using Dynamic HTML Editor
Extend the compiler