Compiler questions

new topic     » topic index » view thread      » older message » newer message

I am about to start writing a compiler which I hope will be as easy to 
use as Euphoria but generate executables that run at asm speed. This 
project seems quite ambitious (though that never stopped me before) and 
I would like to get some views from the list on the following questions. 
I have some opinion about most of them but a variety of concisely 
expressed arguments will help me definitely
decide each point.

Regards,
Mike

1. What sort of numerical data types should be there? Only integer 
(signed 32-bit) and real (double precision floats)?

2. Can restrictions be placed on bitwise operations with real types?

3. Would 1-d arrays and lists of character strings be enough?

4. Should it support cdecl?

5. Type conversion - implicit or explicit?

6. Pass by reference - when is this needed?

7. What sort of notation could be used to access arrays? structures?

8. Forward references?

9. Control structures other than: if, for, while ?

10. Error recovery?

11. Anything else?

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu