3 ms·
which Pascal compiler is it - Embarcadero or FPC?
by slt2021 3y ago
which Pascal compiler is it - Embarcadero or FPC?
- Rochus 3y agoIt's the language itself; I currently build a parser for FP 3.2.2 and I need more look-ahead than LL(1) in different parts of the syntax. And it has features which require more than one pass.
- wruza 3y agoOne thing this thread seems to forget, Pascal sources do not include literal kilometers of headers compared to C++, and there’s no code in Interface sections either. Every C++ translation unit explodes into a full set of libs at preprocessing phase. One pass or LL(1) is just a cool bonus compared to that.
- Rochus 3y agoDelphi and FreePascal have compiler directives and include files quite similar to C, and it's commonly used e.g. in the FP source tree, albeit to a lesser extent than in a typical C/C++ project.