Re: [fpc-devel] Planning to experiment with FPC extentions

2020-08-25 Thread Ryan Joseph via fpc-devel
I started by using lazbuild with one of the .lpi files included in the fpc 
sources (add debug information when building also). 

lazbuild /fpc/compiler/ppcx64.lpi

Next thing to do is put a syntax error in a example program and build it using 
the compiler (/fpc/compiler/ppcx64 myprog.pas for example) and a debugger (I 
use VSCode on macOS now but Lazarus works). Step through the compiler line by 
line until you understand the basics of where you are. Eventually add more 
syntaxes to your example program and step around in the debugger to analyze how 
it works.

That's basically all the information there is sadly. I thought of making a 
little screencast video of myself doing this but I'm not sure how useful that 
would be.

> On Aug 26, 2020, at 7:57 AM, Boian Mitov via fpc-devel 
>  wrote:
> 
>   Hello everyone,
>  
> I have been planning for long time to try to add support for advanced RTTI to 
> FPC, but never had the chance to work on it.
> I don’t even know how to start. Is there any information on how to setup for 
> recompiling the compiler sources and even where the sources and the project 
> files for the compiler are?
> Can someone help me setup so I can start to study the code and see how I can 
> start working on it?

Regards,
Ryan Joseph

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


[fpc-devel] Planning to experiment with FPC extentions

2020-08-25 Thread Boian Mitov via fpc-devel
  Hello everyone,

I have been planning for long time to try to add support for advanced RTTI to 
FPC, but never had the chance to work on it.
I don’t even know how to start. Is there any information on how to setup for 
recompiling the compiler sources and even where the sources and the project 
files for the compiler are?
Can someone help me setup so I can start to study the code and see how I can 
start working on it?

With best regards,
Boian Mitov

---
Mitov Software
www.mitov.com
---___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel