Skip to content

Building without NodeJS/WASM #27

Closed Answered by AndrewF001
fruffy asked this question in Q&A
Discussion options

You must be logged in to vote

NodeJS isn't a requirement if you're not interested in the .vsix file, as the Rust competent can be compiled and run independently. The WASM is a separate cargo, so to avoid building it, you can run this command: cargo build --bin p4analyzer --release, and the executable will be created at target\release\p4analyzer.exe.

We haven't tested how the program interacts with other editors, but it uses the LSP 1.17 standard of communication through stdin & stdout. Please keep in mind that this project is very early stages, so not many features have been implemented, but let me know if you have any issues compiling the project!

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@fruffy
Comment options

fruffy Apr 25, 2023
Maintainer Author

@fruffy
Comment options

fruffy Apr 25, 2023
Maintainer Author

@AndrewF001
Comment options

@fruffy
Comment options

fruffy Apr 25, 2023
Maintainer Author

@AndrewF001
Comment options

Answer selected by fruffy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants