Emil J. Tywoniak
0f064337c3
const2ast: fix for consistency with previous diagnostics behavior
2025-08-08 16:32:51 +02:00
Emil J. Tywoniak
20b2e47b42
verilog_location: rename location to Location to avoid conflict with Pass::location
2025-08-08 16:22:54 +02:00
Emil J. Tywoniak
65b53e6473
fixup! ast: fix import node
2025-08-08 16:19:18 +02:00
Emil J. Tywoniak
a5228e5bb0
ast: fix import node
2025-08-08 16:15:20 +02:00
Emil J. Tywoniak
72ff18bab0
verilog_lexer: refactor
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
d49546b36e
ast: refactor
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
90e3579820
ast: remove null_check as dead code
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
1a4dd18c5f
simplify: simplify
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
581b9684a2
simplify: std::gcd
2025-08-08 15:36:43 +02:00
Krystine Sherwin
950339b1b0
simplify.cc: Drop unused debug prints
...
At least the ones added by this PR. There are some unused debug prints that are *changed* by this PR, but I've left them.
2025-08-08 15:36:43 +02:00
Krystine Sherwin
c12cd1f4fb
frontends/ast: More usage of auto
...
For consistency.
2025-08-08 15:36:43 +02:00
Krystine Sherwin
01b14061ed
docs: Update ubuntu apt-get
...
Also mention CXXSTD fix for cygwin.
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
2f78d9330a
preproc: formatting
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
0f2ab91952
verilog_lexer, verilog_parser: remove comment
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
39a44c3539
verilog_lexer: fix fallthrough warning
2025-08-08 15:36:43 +02:00
Emil J
2231834f34
verilog_lexer: remove comment
...
Co-authored-by: KrystalDelusion <93062060+KrystalDelusion@users.noreply.github.com>
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
9d35b0bf4a
preproc: formatting
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
583ef78049
fixup! readme, verilog_parser: bison 3.8 and ubuntu 22.04 example
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
f03c6b7d63
Revert "CI: bump flex and bison on Windows"
...
This reverts commit efbc138ced
.
2025-08-08 15:36:43 +02:00
Emil J
b458f71de1
rtlil: remove comment
...
Co-authored-by: KrystalDelusion <93062060+KrystalDelusion@users.noreply.github.com>
2025-08-08 15:36:43 +02:00
Krystine Sherwin
1bb1a87b3b
Add flex lib to vcxsrc include dirs
2025-08-08 15:36:43 +02:00
Krystine Sherwin
9b0a199dfd
Sneak FlexLexer.h into VS build
2025-08-08 15:36:43 +02:00
Catherine
b6ea282dce
CI: fix typo
2025-08-08 15:36:43 +02:00
Catherine
760b5041c1
CI: install flex for WASI builds.
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
49abdc8d3a
fixup! CI: sneak FlexLexer.h into the WASI sysroot
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
5fcc7aa51a
CI: bump flex and bison on Windows
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
dde790fa40
CI: sneak FlexLexer.h into the WASI sysroot
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
b0e3e99766
verilog: fix build dependency graph
2025-08-08 15:36:43 +02:00
Gary Wong
9f022f01da
verilog: add support for SystemVerilog string literals.
...
Differences are new escape sequences (including escaped newline
continuations and hex escapes) and triple-quoted literals.
2025-08-08 15:36:43 +02:00
garytwong
5240a63353
verilog: fix string literal regular expression ( #5187 )
...
* verilog: fix string literal regular expression.
A backslash was improperly quoted, causing string literal matching
to fail when the final token before a closing quote was an escaped
backslash.
* verilog: add regression test for string literal regex bug.
Test for bug triggered by escaped backslash immediately before
closing quote (introduced in ca7d94af
and fixed by 40aa7eaf
).
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
221547a41e
docs: fix verilog frontend internals
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
9630663459
read_verilog, ast: use unified locations in errors and simplify dependencies
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
e090db4ebc
readme, verilog_parser: bison 3.8 and ubuntu 22.04 example
2025-08-08 15:36:43 +02:00
Krystine Sherwin
3aa1c1abe6
dpicall.cc: Fix sans-plugin function call
2025-08-08 15:36:43 +02:00
Krystine Sherwin
408a992d54
Makefile: Add flex lib/include for brew
2025-08-08 15:36:43 +02:00
Krystine Sherwin
a7c80ffe5f
preproc.cc: Use full path for generated file
...
Fixes out-of-tree builds.
2025-08-08 15:36:43 +02:00
Krystine Sherwin
3712900e6a
docs/verilog_frontend.rst: Fix indentation
2025-08-08 15:36:43 +02:00
Krystine Sherwin
fc0be83d7f
preproc depends on parser
2025-08-08 15:36:43 +02:00
Krystine Sherwin
889436f8bb
Add libfl-dev
...
Should fix the missing `<FlexLexer.h>` error.
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
e3fd310830
fixup! fixup! ast, read_verilog: unify location types, reduce filename copying
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
4509446c72
fixup! ast, read_verilog: unify location types, reduce filename copying
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
2a9102565f
ast, read_verilog: unify location types, reduce filename copying
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
041599b7d9
neater errors, lost in the sauce of source
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
a6293df781
ast, read_verilog: refactoring
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
51fc94cf2d
ast: fix new memory safety bugs from rebase
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
b7b3caa475
ast: ownership for string values
2025-08-08 15:36:43 +02:00
Emil J. Tywoniak
dfcef88310
ast, read_verilog: ownership in AST, use C++ styles for parser and lexer
2025-08-08 15:36:42 +02:00
Emil J. Tywoniak
070a758248
Revert "verilog: fix string literal regular expression ( #5187 )"
...
This reverts commit 834a7294b7
.
2025-08-08 15:35:08 +02:00
Emil J. Tywoniak
5ae0120134
Revert "verilog: add support for SystemVerilog string literals."
...
This reverts commit 5feb1a1752
.
2025-08-08 15:35:08 +02:00
Emil J. Tywoniak
8a76eba891
Revert "verilog: fix parser "if" memory errors."
...
This reverts commit 34a2abeddb
.
2025-08-08 15:35:08 +02:00