[fpc-pascal] Pascal Language Server

Ryan Joseph genericptr at gmail.com
Thu Apr 23 08:37:47 CEST 2020


yes! Pascal *badly* needs this to be productive outside of Lazarus. I use Sublime Text and frequently now VSCode but not having good code tools is getting painful.

In fact I already started a language server some months ago (and since been busy with out stuff) but I think you've made more progress than me so I'll help to develop yours if you would like. I was even asking on the list about Lazarus code tools and was showed how to FPC's official parser works.

Please let me know what else needs to be done and I'll see if I can contribute.

Thanks, really.

> On Apr 23, 2020, at 7:13 AM, Arjan Adriaanse <arjan at adriaan.se> wrote:
> 
> I am new to Pascal programming and since I like using Emacs, I wanted
> to try to improve its support for editing Pascal code.  I decided to
> implement an LSP server which text editors can use as back-end for
> providing IDE features.  The server is implemented in Free Pascal and
> uses the CodeTools package for doing the actual work.
> 
> The implementation is still incomplete and unstable but so far I
> managed to get code completion working.  Apart from improving
> stability and adding features, I am sure there are more possible
> improvements, since this is my first Pascal project.  The project can
> be found at https://github.com/arjanadriaanse/pascal-language-server
> [1], any help and feedback is welcome.
> 
> A module is provided for using the server from Emacs, but it should be
> straightforward to add support for other LSP clients such as Visual
> Studio Code.
> 
> Regards,
> 
> Arjan
> 
> [1] https://github.com/arjanadriaanse/pascal-language-server
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Regards,
	Ryan Joseph



More information about the fpc-pascal mailing list