dungwinux / fpconsole

Tool for running Pascal Codes directly from console.
https://dungwinux.github.io/fpconsole/
MIT License
1 stars 1 forks source link

Custom Pascal compiler? #25

Open cszach opened 6 years ago

cszach commented 6 years ago

Hey.

I think we need to allow the users to use their own compiler, and not just force them to use Free Pascal Compiler. We can have an option to specify the compiler (i.e. --compiler FOOBAR_COMPILER or --compiler PATH_TO_COMPILER). I think it's edgy to make Free Pascal as default compiler. The reason is, currently in FPConsole, no compiler argument is taken (except for -v0). What if the user wants to compile in Delphi mode or Object Pascal mode? Sure having compiler directive is a way, but we should provide full choices.

We can also have some kind of configuration file (e.g. fpconsole.conf) to configure things like this.

dungwinux commented 6 years ago

Okay, this will be upcoming feature

dungwinux commented 6 years ago

This will be merged with #18