Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[issue1146] Validate SAS file #227

Draft
wants to merge 51 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
729fcbe
[issue 1146] Check that the input contains a number where expected.
tanjaschindler Jul 12, 2024
7659cd6
Add fact check for initial state and mutexes.
grucla Jul 12, 2024
777bef8
[Issue 1146] First version of sas file parser.
tanjaschindler Jul 17, 2024
5c189e7
[Issue 1146] Error handling only on InputFileParser level; get rid of…
tanjaschindler Jul 17, 2024
53c5096
[Issue 1146] Simplify InputFileParser, fix usage in RootTask.
tanjaschindler Jul 18, 2024
62c7e7f
[Issue 1146] Add documentation to parser.
tanjaschindler Jul 19, 2024
0ba73dc
[Issue1146] Check that there is at least one state variable and domai…
grucla Jul 19, 2024
f30e600
[Issue1146] Check that mutex groups have unique facts and at least si…
grucla Jul 19, 2024
9ae051f
Address parts of reviews. Main changes: may_start_line is now a funct…
tanjaschindler Nov 14, 2024
96a85aa
Rename InputFIleParser to TaskParser.
tanjaschindler Nov 15, 2024
5d3c78f
Make find_next_line a void function.
tanjaschindler Nov 18, 2024
2e1e822
Add documentation to TaskParser.
tanjaschindler Nov 18, 2024
dd210fe
Improve error messages.
tanjaschindler Nov 18, 2024
5d2e7e9
Rework duplicate code.
tanjaschindler Nov 25, 2024
cd034bf
Use template to avoid code duplication.
tanjaschindler Nov 25, 2024
4de84a3
small fixes
FlorianPommerening Dec 10, 2024
05efd05
fix includes
FlorianPommerening Dec 10, 2024
6f0e262
use context
FlorianPommerening Dec 10, 2024
d92ea31
Rename task parser to task lexer
FlorianPommerening Dec 10, 2024
09815b0
move task parsing to its own class
FlorianPommerening Dec 13, 2024
96ca8a9
initialize token_number in lexer
FlorianPommerening Dec 13, 2024
be1333b
rename local variable to reduce next diff
FlorianPommerening Dec 13, 2024
bee1bb4
move parsing functionality into parser class
FlorianPommerening Dec 13, 2024
a7cecd6
Split parsing operators and axioms and remove dependency.
FlorianPommerening Dec 13, 2024
f2fa8e4
remove unused includes
FlorianPommerening Dec 13, 2024
a577d0e
move int parsing to parser
FlorianPommerening Dec 14, 2024
c6cdea1
move magic line check out of lexer
FlorianPommerening Dec 14, 2024
d84cb3b
use parser context instead of lexer context for error handling
FlorianPommerening Dec 14, 2024
6ebe2d4
move initial state parsing into a method
FlorianPommerening Dec 14, 2024
c45d8c0
add more trace blocks
FlorianPommerening Dec 14, 2024
ff14625
decorate traceback with line numbers
FlorianPommerening Dec 14, 2024
8ebdfbe
Restructure TaskLexer. It now explicitly enters a line reading mode
FlorianPommerening Dec 15, 2024
358a8a1
Check facts immediately after reading them.
tanjaschindler Dec 17, 2024
3f38b07
Check operator cost.
tanjaschindler Dec 17, 2024
3f17f87
Check that goal variables are unique.
tanjaschindler Dec 17, 2024
6afb7b6
Check that variable affected by axiom is derived, and variables affec…
tanjaschindler Dec 17, 2024
c60a402
Check layering condition and pre-post-value condition for axioms.
tanjaschindler Dec 17, 2024
cba9cd5
Check that derived variables are binary.
tanjaschindler Dec 18, 2024
ed520a1
Separate read_pre_post for operators.
tanjaschindler Dec 18, 2024
83c3318
Small fix.
tanjaschindler Dec 19, 2024
a14e96b
Small fix.
tanjaschindler Dec 20, 2024
19152d7
Deal with whitespace, improve error message.
tanjaschindler Feb 5, 2025
3c7f06d
Add and remove output.sas checks.
tanjaschindler Feb 5, 2025
7ef1aa4
Simplify token initialization.
tanjaschindler Feb 7, 2025
e985fb6
Get rid of methods reading complete lines as numbers.
tanjaschindler Feb 7, 2025
3e034bf
Remove unused variable.
tanjaschindler Feb 7, 2025
7b6fc1c
Merge branch 'main' into issue1146
tanjaschindler Feb 10, 2025
350e4b6
Remove checks related to negated axioms, document checks (intentional…
tanjaschindler Feb 11, 2025
2c16296
Fix noreturn.
tanjaschindler Feb 11, 2025
0a9742a
Fix style
tanjaschindler Feb 11, 2025
45a6b6e
Fix style.
salome-eriksson Feb 12, 2025
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
1 change: 1 addition & 0 deletions src/search/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ create_fast_downward_library(
utils/system
utils/system_unix
utils/system_windows
utils/task_lexer
utils/timer
utils/tuples
CORE_LIBRARY
Expand Down
Loading