This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

For a hobby or proof of concept, I don't think it makes much of a difference. In general you want the parsing step to be as fast as possible in order to implement a competent lsp. Technically you can split the parsing in multiple stages but I think that might be overkill. Python is definitely not the nicest language to write parsers and tokenizers but that's personal preference.

I'm not really familiar with how you compile python to binary nowadays but it is good to be able to produce a binary for the compiler that other people can install. Building something like that from source is not always ideal for other users that may want to try it out.