Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
147 commits
Select commit Hold shift + click to select a range
59316cc
Initial draft of a public API to navigate and manipulate VHDL syntax
Schottkyc137 Jan 1, 2025
f551bd9
Enable parsing of simple entity headers
Schottkyc137 Jan 2, 2025
7ba2c59
Fix: use ``skip` instead of `next`
Schottkyc137 Jan 3, 2025
66ae922
Refactor: leading_trivia and trailing_trivia return all trivia pieces
Schottkyc137 Jan 4, 2025
8701a33
Enable an automatic way to generate the syntax tokens
Schottkyc137 Jan 11, 2025
9910b46
Enable token rewriting
Schottkyc137 Jan 11, 2025
3e4e694
Fix the offsets; enable cloning with a new token
Schottkyc137 Jan 11, 2025
ad88ec9
Add productions for name parsing to documentation
Schottkyc137 Jan 13, 2025
5ae8e7e
Add Alias Declaration
Schottkyc137 Jan 14, 2025
0e16152
Add Attribute Specifications
Schottkyc137 Jan 15, 2025
fbf2646
Add component declarations
Schottkyc137 Jan 15, 2025
fad5d50
Start parsing block statements
Schottkyc137 Jan 16, 2025
2810749
Restructure productions into own module
Schottkyc137 Jan 19, 2025
a4c3f07
Enable Token interning
Schottkyc137 Jan 19, 2025
221349e
Implement greedy name parsing
Jan 20, 2025
43e0639
Add several more productions
Schottkyc137 Jan 23, 2025
0e798be
Add mode declarations
Schottkyc137 Jan 23, 2025
5331ebc
Concurrent statements
Schottkyc137 Jan 24, 2025
00ef775
add more concurrent statements
Schottkyc137 Jan 28, 2025
2d1d4c8
Merge branch 'master' into syntax-crate
Schottkyc137 Jan 28, 2025
15b2594
Improve (bounded) lookahead and simplify parsing of ambiguous names
Jan 29, 2025
90ddc81
Move token_index to NodeBuilder and improve error handling for lookah…
Feb 13, 2025
7034996
Merge pull request #2 from skaupper/name-parsing
Schottkyc137 Feb 13, 2025
aa4251c
Merge branch 'syntax-crate' of https://github.com/Schottkyc137/rust_h…
Schottkyc137 Feb 13, 2025
355ffc4
Add attribute declaration
Schottkyc137 Feb 15, 2025
2280dbe
Parse expressions
Schottkyc137 Feb 26, 2025
b799ef3
sequential statements; tests
Schottkyc137 Feb 27, 2025
da273f2
Parse next and exit statements
Schottkyc137 Feb 28, 2025
df2dfdf
Parse loop, case and if statement
Schottkyc137 Feb 28, 2025
9807d91
Add more sequential statements
Schottkyc137 Mar 1, 2025
363f3c0
Parse aggregates
Schottkyc137 Mar 2, 2025
470339c
Unignore all sequential statement tests
Schottkyc137 Mar 2, 2025
c1fd514
Remove end_node_with_kind in favor of checkpoints
Schottkyc137 Mar 2, 2025
e74c8c0
Refactor Parenthesized Expression with Parenthesized Expression or Ag…
Schottkyc137 Mar 2, 2025
e5da816
Enable parsing of most concurrent statements
Schottkyc137 Mar 15, 2025
a67779c
Add more test cases
Schottkyc137 Mar 17, 2025
cd8652d
Improve parsing of type declarations and add test cases
skaupper Feb 14, 2025
f9dd778
Differentiate between constrained and unbounded array definitions
Apr 8, 2025
9dfe82c
Partially parse discrete_range using a lookahead
Apr 8, 2025
14b4b31
Merge pull request #3 from skaupper/type-declaration-parsing
Schottkyc137 Apr 20, 2025
768d254
add documentation
Schottkyc137 May 3, 2025
a1157e5
Stuff
Schottkyc137 Jun 22, 2025
f1f8473
Initial syntax gen improvements
Schottkyc137 Aug 3, 2025
dfeb31d
Enable aliases
Schottkyc137 Aug 3, 2025
ed4b9cb
Disable trailing feature
Schottkyc137 Aug 6, 2025
ec26e67
Fix '§' number
Schottkyc137 Aug 9, 2025
2470a9c
Add types and declarations
Schottkyc137 Aug 9, 2025
9ba4f63
Add Specifications and Scope and Visibility
Schottkyc137 Aug 10, 2025
366b32c
temp
Schottkyc137 Aug 12, 2025
e9ece9b
Add remaining productions
Schottkyc137 Aug 16, 2025
24d9338
Fix duplicate nodes
Schottkyc137 Aug 17, 2025
6500b06
Finalize syntax definitions
Schottkyc137 Aug 17, 2025
215bb42
PSL naming conventions
Schottkyc137 Aug 17, 2025
11e9739
Remove aliases
Schottkyc137 Aug 17, 2025
99eb21f
Generate relevant rust files
Schottkyc137 Aug 17, 2025
692e8c8
Remove alias logic
Schottkyc137 Aug 17, 2025
20f367e
Fixed PSL spelling and some other issues
Schottkyc137 Aug 17, 2025
f75881e
Start modifying and testing nodes
Schottkyc137 Aug 20, 2025
4e64aa7
Work on more concurrent statements
Schottkyc137 Aug 20, 2025
d247565
Add more concurrent statement tests
Schottkyc137 Aug 21, 2025
e1303e3
Remove auto-generated leftovers
Schottkyc137 Aug 21, 2025
52f47de
Stuff
Schottkyc137 Sep 2, 2025
3cff2e0
Add more test cases
Schottkyc137 Oct 5, 2025
07cc72b
Remove files in wrong directory
Schottkyc137 Oct 5, 2025
a44f43d
Fix syntax tests
Schottkyc137 Oct 11, 2025
c047902
Add test cases for declarations, packages
Schottkyc137 Oct 18, 2025
ab835c9
Fix more parsing errors
Schottkyc137 Nov 15, 2025
20c18e7
Make discrete_range more relaxed
Schottkyc137 Nov 15, 2025
d17099a
Comments are utf-8
Schottkyc137 Nov 15, 2025
91000be
Implement Interface Declarations
Schottkyc137 Nov 16, 2025
4299da1
Fixes
Schottkyc137 Nov 16, 2025
2745b4c
Fix more stuff
Schottkyc137 Nov 27, 2025
25bbaec
Add a parser for the productions.txt file
Schottkyc137 Dec 8, 2025
554c8d7
Enable serialization of nodes.
Schottkyc137 Jan 1, 2026
c59dbb1
Add pycache to gitignore
Schottkyc137 Jan 1, 2026
3331a81
Migrate to insta
Schottkyc137 Jan 1, 2026
b7e904f
Add methods to normalize productions
Schottkyc137 Dec 28, 2025
5eade03
Add missing end node
Schottkyc137 Dec 30, 2025
3323f0e
Skip elements in parentheses after tick
Schottkyc137 Dec 30, 2025
4e727ee
Skip elements in parentheses after tick
Schottkyc137 Dec 30, 2025
cce7fcf
restructure
Schottkyc137 Dec 31, 2025
edfe888
Add configuration
Schottkyc137 Dec 31, 2025
5ddd164
Some final fixes
Schottkyc137 Dec 31, 2025
31e8675
Restructure
Schottkyc137 Jan 1, 2026
bc2afa8
Clean up todos
Schottkyc137 Jan 1, 2026
3902ea3
Fix issue with leading and trailing trivia
Schottkyc137 Jan 1, 2026
61eb747
Improve Latin1 API
Schottkyc137 Jan 2, 2026
dd98188
Consequent use of Latin1Str
Schottkyc137 Jan 3, 2026
025056b
More ergonomic and correct APIs
Schottkyc137 Jan 3, 2026
79eb5b2
serde: emit bytes instead of encoded string
Schottkyc137 Jan 3, 2026
24b44ca
Explain comments and encoding in readme
Schottkyc137 Jan 3, 2026
f32425c
Add tests and fixes for configurations
Schottkyc137 Jan 3, 2026
9de75d3
Contexts and test cases
Schottkyc137 Jan 3, 2026
0b48bfe
Test cases for design units
Schottkyc137 Jan 3, 2026
9fdd8c1
More test cases
Schottkyc137 Jan 3, 2026
cfc9b27
Move main function to integration test
Schottkyc137 Jan 3, 2026
d06c318
Final fixes and tests
Schottkyc137 Jan 4, 2026
9ad19d3
Remove .DS_Store
Schottkyc137 Jan 4, 2026
5a70227
Remove build-time only members from workspace cargo.toml
Schottkyc137 Jan 4, 2026
b494a04
Rework TokenStream implementation
Schottkyc137 Jan 4, 2026
207da8e
Collect vec instead of vec deque
Schottkyc137 Jan 5, 2026
60fae63
Initial implementation
Schottkyc137 Jan 7, 2026
e2d58a7
Refactor AST nodes to better suite formatter
Schottkyc137 Jan 11, 2026
87ab5d9
Newline and indentation rules
Schottkyc137 Jan 12, 2026
11f7679
finalize trivia normalization
Schottkyc137 Jan 13, 2026
9e94bc7
Replace state with layout tree
Schottkyc137 Jan 15, 2026
72bcead
Move indentation to after newline
Schottkyc137 Jan 17, 2026
0606750
Initial implementation of flat / non-flat layout
Schottkyc137 Jan 17, 2026
a707825
More on the formatter; comments do not work yet
Schottkyc137 Jan 17, 2026
862b27c
Format with comments
Schottkyc137 Jan 18, 2026
7ec1eb0
Another refactor
Schottkyc137 Jan 18, 2026
30f6c06
Better comment handling
Schottkyc137 Jan 29, 2026
b898fb1
format
Schottkyc137 Feb 15, 2026
e0c01ae
Temp
Schottkyc137 Feb 17, 2026
547db90
Merge branch 'master' into vhdl-formatter
Schottkyc137 Feb 22, 2026
8e01ac0
Revert "Temp"
Schottkyc137 Feb 22, 2026
b9f8cc0
Remove old tests for now
Schottkyc137 Feb 22, 2026
3fd7104
Remove ast_syntax_gen as leftover from git shenanigans
Schottkyc137 Feb 22, 2026
59868b9
Remove more files from git stuff
Schottkyc137 Feb 22, 2026
82eb9ba
vhdl_syntax latin1 and utf-8 formatting: fix horizontal and vertical …
Schottkyc137 Feb 22, 2026
57be446
Merge branch 'master' into vhdl-formatter
Schottkyc137 Feb 22, 2026
985aece
Silence clippy warnings
Schottkyc137 Feb 22, 2026
624695f
Preserve user blank lines
Schottkyc137 Feb 22, 2026
6f02515
comment changes
Schottkyc137 Feb 23, 2026
c190bd4
Implement alignment
Schottkyc137 Feb 23, 2026
3f8c52f
Add alignment config
Schottkyc137 Feb 23, 2026
19b2260
Omit declarations for now
Schottkyc137 Feb 23, 2026
b315810
Don't emit empty newline before top-level design entity
Schottkyc137 Feb 23, 2026
2c26f29
Fix: do not group declarations
Schottkyc137 Feb 23, 2026
3499e0e
Use eprintln instead of println for error messages
Schottkyc137 Feb 24, 2026
6b988e7
Use events instead of raw builder
Schottkyc137 Feb 24, 2026
610e827
Canonicalize consecutive concats
Schottkyc137 Feb 24, 2026
7b89536
Revert "Canonicalize consecutive concats"
Schottkyc137 Feb 24, 2026
3c5a02f
Canonicalize Concat([X]) -> X
Schottkyc137 Feb 24, 2026
b68460a
Restructuring
Schottkyc137 Feb 25, 2026
146ddf1
Hoist trailing comments to previous line
Schottkyc137 Feb 26, 2026
d5847c5
Refactor space -> spaces
Schottkyc137 Feb 26, 2026
377a51f
Fix flat vs broken layout for interface lists
Schottkyc137 Feb 27, 2026
3d3af05
Add space separator
Schottkyc137 Feb 27, 2026
b36bd20
Refactor node properties
Schottkyc137 Mar 1, 2026
cb671c4
Make spaces before colon configurable
Schottkyc137 Mar 1, 2026
5823d55
Refactor parenthesized items
Schottkyc137 Mar 4, 2026
ec11482
Add more nodes
Schottkyc137 Mar 4, 2026
10a3216
Remove indentation for component instantiation items and generate sta…
luscheller Mar 4, 2026
f0e843c
Also align in association lists
luscheller Mar 4, 2026
e53773e
Refactor NodeProp
Schottkyc137 Mar 5, 2026
3859f35
Add parenthesized compound style
Schottkyc137 Mar 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ __pycache__/

.DS_Store

.claude
.claude
Loading