Re: [fpc-pascal] Pascal Language Server

2020-04-24 Thread Arjan Adriaanse
/issues/7 On Fri, 24 Apr 2020 16:10:47 +0700 Ryan Joseph via fpc-pascal wrote: > > On Apr 24, 2020, at 3:59 PM, Arjan Adriaanse > > wrote: > > > > FPCDIR="/usr/lib/fpc/3.2.0/source" > > LAZARUSDIR="/usr/share/lazarus" > > I see now! I didn&

Re: [fpc-pascal] Pascal Language Server

2020-04-24 Thread Arjan Adriaanse
The options for initializing CodeToolsBoss are passed through environment variables as described at https://wiki.lazarus.freepascal.org/Codetools [1]. For example, mine are set up as follows through the Emacs client settings. FPCDIR="/usr/lib/fpc/3.2.0/source" LAZARUSDIR="/usr/share/lazarus" How

Re: [fpc-pascal] Pascal Language Server

2020-04-23 Thread Arjan Adriaanse
using this FPC version. Regards, Arjan [1] ftp://ftp.freepascal.org/pub/fpc/beta/3.2.0-rc1/source/ On Thu, 23 Apr 2020 21:28:08 +0700 Ryan Joseph via fpc-pascal wrote: > > On Apr 23, 2020, at 9:11 PM, Arjan Adriaanse > > wrote: > > > > lazbuild --compiler=/usr/lib/fp

Re: [fpc-pascal] Pascal Language Server

2020-04-23 Thread Arjan Adriaanse
On Thu, 23 Apr 2020 20:45:58 +0700 Ryan Joseph via fpc-pascal wrote: > > On Apr 23, 2020, at 8:20 PM, Arjan Adriaanse > > wrote: > > > > Perhaps not all the used generics features are available yet in > > older FPC versions. I use the most recent

Re: [fpc-pascal] Pascal Language Server

2020-04-23 Thread Arjan Adriaanse
On Thu, 23 Apr 2020 19:37:02 +0700 Ryan Joseph via fpc-pascal wrote: > You did a nice job structuring it I think and providing a template to > scale up from. What language(s) are you coming from and why did you > decide to make a language server for Pascal if you're not a Pascal > user? Just curi

Re: [fpc-pascal] Pascal Language Server

2020-04-23 Thread Arjan Adriaanse
t 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 > > wrote: > >

[fpc-pascal] Pascal Language Server

2020-04-22 Thread Arjan Adriaanse
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 pack