Comments (2)
Roger that. I too, am building a flex/bison parser from the IEEE spec and was looking for any projects to get started. Just wanted to document for onlookers.
from verilog-parser.
Hi @elliottcstr
Thanks for this. I'm painfully aware about the number of parser warnings generated.
I built this thing years ago so my memory is not especially fresh. However, many of the warnings stem from how I wrote the grammar. I wrote it to be almost identical to how the grammar is specified in BNF in the IEEE specification document. The aim of the project being to make it as clear as possible how the bison code related to the specification.
A warning from bison about things like useless rules implies some redundency in how the IEEE BNF grammar is specified. I didn't / still dont' have enough confidence about parser engineering to refactor that amount of stuff away. As you say, there are many warnings, some of which are no doubt solely my own fault.
In terms of fixing this:
- It's a big job which I'm not confident I have the skills or time to do. I'm very happy accepting pull requests, but I don't have time to sink into this project any more. I'll always respond to issues though.
from verilog-parser.
Related Issues (18)
- Segfault when running with multiple files as input.
- Enumerating Module Ports Causes Segfault
- Representation of always and initial blocks/statements
- file name changed libbison-dev_3.0.4.dfsg-1_amd64.deb to libbison-dev_3.0.4.dfsg-1+b1_amd64.deb on remote server HOT 5
- ../../tests/dff_udp1.v line 11 - ERROR: syntax error, unexpected CLOSE_BRACKET - ')' - Parse failed HOT 2
- Freeing the sintax tree ? HOT 4
- Typo causing compile error HOT 1
- Improve Coverage HOT 3
- Global Variable Defined in Header HOT 9
- Inbalanced `yy_preproc -> current_file` Stack HOT 4
- Support for BISON 3.3.1 (or above) HOT 4
- Parse failed HOT 2
- Bug in parsing primitive with delay
- Pre-Processor Support HOT 4
- Inadequate Hash Table Structure
- `undef at end of file causes segfault in some cases.
- Memory Leaking
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from verilog-parser.