Jeremiah Leary
fb2a22eb4c
Updates for issue #365 :
...
Adding commit SHA output to version option.
The SHA will only be reported if the git repo has been cloned.
When installed via PIP, the SHA will not be reported.
2020-08-03 19:26:28 -05:00
Jeremiah Leary
5d1b796207
Attempting to fix Travis CI error.
2020-08-03 19:23:29 -05:00
Jeremiah Leary
07f22060bf
Adding context reference rules to documentation.
2020-08-03 18:40:43 -05:00
Jeremiah Leary
c69f4b85b6
Updating comments for functions to match LRM.
2020-08-03 08:16:11 -05:00
Jeremiah Leary
bc83b7124d
Refactoring port_clause to match LRM.
2020-08-03 08:00:41 -05:00
Jeremiah Leary
8ea6b9eef7
Refactoring entity declaration to match LRM.
2020-08-03 07:42:36 -05:00
Jeremiah Leary
caf80b8a2e
Adding interface_signal_declaration objects.
...
Refactored new classifiers to take objects instead of a list of objects.
2020-08-02 21:43:12 -05:00
Jeremiah Leary
62a5b230f6
Refactored generic clauses into "beginning" and "end"
2020-08-02 15:28:17 -05:00
Jeremiah Leary
54f5c88a78
Refactored port_clause into beginning and end.
2020-08-02 15:22:11 -05:00
Jeremiah Leary
dbe28f2473
Refactoring entity classification.
...
1) Split classification into "beginning" and "end" pieces
2) Moved entity objects into token directory
2020-08-02 15:03:33 -05:00
Jeremiah Leary
7f525feac9
Restricting checking for generic and port clauses with entity declarations.
2020-08-02 11:47:41 -05:00
Jeremiah Leary
e4cdf86b25
Adding port clause objects.
2020-08-02 11:27:25 -05:00
Jeremiah Leary
1c1dc3ccd0
Adding generic clause objects.
2020-08-02 11:19:42 -05:00
Jeremiah Leary
f32d4e1a1b
Adding component objects.
...
Refactoring objects into a token library instead of a parser file.
2020-08-02 08:48:18 -05:00
Jeremiah Leary
b993b2a746
Adding attribute objects.
2020-08-01 18:57:21 -05:00
Jeremiah Leary
edc846b549
Added file objects.
...
Cleaned up some issues with classifiers not checking lower case for keywords.
2020-08-01 18:36:57 -05:00
Jeremiah Leary
16e8c1cb27
Adding variable declaration objects.
2020-08-01 16:48:03 -05:00
Jeremiah Leary
ed26959607
Adding assert objects.
2020-08-01 15:24:07 -05:00
Jeremiah Leary
6b7b7142bc
Refactoring token generation:
...
1) Updated test to expose an issue
2) Rewrote tokens.py to be more readable
3) Fixed issue which prompted touching tokens.py
2020-08-01 12:15:44 -05:00
Jeremiah Leary
4013b5a783
Adding objects for constants.
2020-07-31 21:27:32 -05:00
Jeremiah Leary
0543b7c198
Added parsing of signals into objects.
2020-07-31 21:01:42 -05:00
Jeremiah Leary
d4d9a1460e
Adding objects for package bodies.
2020-07-31 15:57:10 -05:00
Jeremiah Leary
585fedfc7a
Adding parsing of entity into objects.
2020-07-31 12:33:08 -05:00
Jeremiah Leary
7b61836e8b
Adding parsing of architecture elements into objects using the parser.
2020-07-31 10:58:59 -05:00
Jeremiah Leary
993ee68d67
Merge pull request #453 from jeremiah-c-leary/issue-393
...
Issue 393
2020-07-30 20:48:59 -05:00
Jeremiah Leary
ffaa52ce6d
Merge branch 'master' into issue-393
2020-07-30 20:45:48 -05:00
Jeremiah Leary
33c1136171
Updates for issue #441 :
...
Addressing issue where commented out generic map was being treated as code.
1) Updated test to show issue
2) Updated code to address issue
2020-07-28 08:18:20 -05:00
Jeremiah Leary
28c0efb6e3
Merge pull request #439 from jeremiah-c-leary/issue-402
...
Issue 402
2020-07-28 07:42:16 -05:00
Jeremiah Leary
9cf81ea67a
Updates for issue #402 :
...
Mocking the number of rules ran to make tests more robust.
2020-07-28 07:32:10 -05:00
Jeremiah Leary
fc41fd3f99
Updates for issue #393 :
...
Fixing documentation.
2020-07-27 20:58:35 -05:00
Jeremiah Leary
862b5aab77
Merge branch 'master' into issue-402
2020-07-27 20:52:53 -05:00
Jeremiah Leary
a0a5be2f3b
Updates for issue #393 :
...
Refactored remaining context rules to use rule_item class.
2020-07-27 18:44:34 -05:00
Jeremiah Leary
c303b28d23
Updates for issue #393 :
...
Refactoring rules:
1) insert blank line base rules refactored
2) refactored context_023 and context_025
2020-07-27 17:53:34 -05:00
Jeremiah Leary
1eab03f141
Updates for issue #393 :
...
Refactoring new base rules for maintainability and readability.
2020-07-27 08:28:26 -05:00
Jeremiah Leary
ba5ae10b8e
Updates for issue #393 :
...
Adding two new library rules:
1) Added rules library_010 and library_011
2) Added tests
3) Added documentation
2020-07-26 14:48:02 -05:00
Jeremiah Leary
abe3cb3418
Updates for issue #393 :
...
Refactoring of library and base rules:
1) Most library rules refactored to use new base item rules
2) Base item rules refactored to use the region method on vhdlFile
3) Tests updated
4) Documentation updated
2020-07-26 12:54:43 -05:00
Jeremiah Leary
69fc6fdef6
Updates for issue #393 :
...
Adding rules for context references.
1) Added context reference rules 001 through 005
2) Refactored base rules to allow it to pull code from rule defined regions
3) Refactored context rules to match base rule changes
4) Added tests
5) Updated documentation
6) Updated context classifier
7) Added set_indent_levels method to vhdlFile class
2020-07-25 20:48:28 -05:00
Jeremiah Leary
711507a2f4
Updates for issue #393 :
...
Add ability to parse context references:
1) Added parser classes
2) Added test
3) Modified context classifier to handle context references
2020-07-25 15:06:01 -05:00
Jeremiah Leary
1b7fe624f0
Updates for issue #393 :
...
Adding another rule:
1) Added context_011
2) Added another base rule
3) Updated tests
4) Added context rule documentation to rules.rst
2020-07-24 06:23:37 -05:00
Jeremiah Leary
4468defa09
Updates for issue #393 :
...
1) Refactored new base rules:
a) Including debug message
b) Fixed reporting of solutions
2) Updated tests
2020-07-23 20:51:27 -05:00
Jeremiah Leary
e42d0a3002
Updates for issue #393 :
...
Adding more context rules:
1) Added base rule indent_item_rule
2) Added indent rules
3) Updated classifiers to handle context indents
2020-07-22 18:48:33 -05:00
Jeremiah Leary
12f6047b68
Updates for issue #393 :
...
Adding more context rules:
1) Added rules
2) Added base rules
3) Added tests
4) Updated documentation
2020-07-22 15:03:46 -05:00
Jeremiah Leary
cfa05b0083
Updates for issue #393 :
...
Adding more context rules:
1) Added rule context_008
2) Added base rule
a) move_item_and_items_to_the_right_to_next_line_rule
2020-07-21 08:35:19 -05:00
Jeremiah Leary
0e226ec6de
Updates for issue #393 :
...
Additional context rules added:
1) New rules added
a) context_007
b) context_021
c) context_022
2) New base rules added
a) insert_item_after_item_rule
b) copy_item_value_and_insert_new_item_after_item_rule
c) move_items_after_item_to_next_line_rule
3) Updated classifiers to use objects
a) library
b) use
4) Added tests
2020-07-21 07:45:20 -05:00
Jeremiah Leary
9fda36ecdb
Updates for issue #393 :
...
Adding more context rules:
1) Added two more base rules:
space_after_item_rule
space_between_items_rule
2) Added new context rules:
context_017
context_018
context_019
3) Added tests
4) Updated documentation
2020-07-20 08:33:09 -05:00
Jeremiah Leary
328b8b336c
Updates for issue #393 :
...
Adding new rules for context declarations:
1) Added base rules move_item_rule and new_case_rule
2) Added new rules:
context_006
context_009
context_010
context_011
context_012
context_013
context_014
context_015
context_016
3) Updated documentation
4) Added tests
2020-07-19 20:56:56 -05:00
Jeremiah Leary
d1ae9928c3
Updates for issue #393 :
...
Adding new rules for context declarations:
1) Added context rule documentation
2) Added parsing of context declarations
a) Experimenting with using objects
3) Adding rules 002, 003, 004 and 005.
NOTE: These new rules need to be refactored before they are merged back to master.
2020-07-19 16:01:29 -05:00
Jeremiah Leary
2effb76817
More documentation fixes.
2020-07-18 16:11:47 -05:00
Jeremiah Leary
ae270b2496
Fixing documentation errors.
2020-07-18 16:05:30 -05:00
Jeremiah Leary
f941406737
Preparing for release 2.0.0
2020-07-18 15:07:18 -05:00