joajfreitas / fcp-core

MIT License
6 stars 1 forks source link

Create LSP for .fcp files #78

Open ItsNotSoftware opened 1 month ago

Combat-Tank commented 1 month ago

Maybe we should start by implementing a linter? Is there grammar documentation for the .fcp files?

joajfreitas commented 1 month ago

Maybe we should start by implementing a linter? Is there grammar documentation for the .fcp files?

You can find the fcp grammar here: https://github.com/joajfreitas/fcp-core/blob/master/src/fcp/v2_parser.py#L28

I've never looked into how to do a linter or a lsp. why do you believe that a linter would be easier?

Not really a linter but fcp does have "compilation errors", implemented here: https://github.com/joajfreitas/fcp-core/blob/master/src/fcp/verifier.py