Giter Site home page Giter Site logo

Comments (3)

Schottkyc137 avatar Schottkyc137 commented on June 8, 2024

The project, when called from the command line, currently does not perform any unused declaration detection.
@kraigher is there a particular reason for this or was this just overlooked? I don't see a compelling reason at the moment not to enable this.

from rust_hdl.

kraigher avatar kraigher commented on June 8, 2024

The vhdl_lang executable was never really created by me for external users. I added it to be able to quickly check that VHDL LS would cleanly work on real world projects in the example projects. When doing this I did not want to be spammed with unused declarations commonly found in real world projects, I only caree about avoiding false positive errors. But checking for unused declarations could have been an opt out option for vhdl_lang instead of the default.

I think vhdl_lang needs a declared purpose that it can be designed to fit. Maybe its purpose should be running checks for CI as its main role in the future.

from rust_hdl.

Schottkyc137 avatar Schottkyc137 commented on June 8, 2024

I guess it makes sense. Maybe there should then also be the option to output machine-parsable code (e.g., json) for better integration with pipelines. Unsure if there is a standardised format.
We could also use this in one of our pipelines as integration test to check that the example project parses without errors. This would have been helpful in a couple of PR's where the unit tests didn't catch the regression

from rust_hdl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.