-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Existing slicing / jump to definition tools? #7
Comments
I'm unfamiliar with this term: could you please describe what that means?
I use the Julia language server when developing Julia—it would be rather interesting to see if we could build a plugin to this (or maybe the DAP) for editors—is that what you were thinking? So, are you thinking some kind of flow like:
How's my understanding? |
Slicing finds code that's relevant to a point of interest & ignores other code. The wikipedia article has links to the original paper & a few others. (The original at least is great.) Flowistry is a nice recent application (github, paper). A language server tool would be excellent. There might already be one.
No. The goal is to understand the injection. Could any real input lead to a NaN in the same place? The tool doesn't need to be float-tracker specific. FloatTracker points us to a line of code. The tool needs to work backwards to find all inputs to that line. (Moving around might be useful, but we can try that manually first.) |
For your convenience, here's how to get the language server going with Neovim: https://github.com/julia-vscode/LanguageServer.jl/wiki/Vim-and-Neovim We'll have to dig in more to see how to extend/develop plugins for the lang server if that's a route we want to go down. |
Does Julia have tools for program slicing / jumping to variable definitions?
If not, we should build some.
We need them to figure out if in an injected NaN is a real problem or not. Doing it manually is hard. Worse, it's easy to get wrong.
Example from Finch's
grid.jl
, read bottom-up:The text was updated successfully, but these errors were encountered: