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

Represent bitvector constant functions as terms #26

Merged
merged 6 commits into from
May 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
13 changes: 3 additions & 10 deletions src/parsing/SMTLIBv2.g4
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
* The MIT License (MIT)
*
* Copyright (c) 2017 Julian Thome <[email protected]>
*
* Modified by Dominik Winterer <[email protected]>
* 2020 Dominik Winterer <[email protected]>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), to deal in
Expand Down Expand Up @@ -145,9 +144,6 @@ CMD_CheckSatAssuming
CMD_CheckSatUsing
: 'check-sat-using'
;
/*CMD_Apply*/
/*: 'apply'*/
/*;*/

CMD_Labels
: 'labels'
Expand Down Expand Up @@ -327,9 +323,6 @@ GRW_Decimal
GRW_Exists
: 'exists'
;
/*GRW_Lambda*/
/*: 'lambda'*/
/*;*/
GRW_Hexadecimal
: 'HEXADECIMAL'
;
Expand Down Expand Up @@ -730,8 +723,8 @@ spec_constant
| string
| b_value
| reg_const
| ParOpen GRW_Underscore ' bv' numeral numeral ParClose
;

s_expr
: spec_constant
| symbol
Expand Down Expand Up @@ -798,6 +791,7 @@ match_case

term
: spec_constant
| ParOpen GRW_Underscore symbol numeral ParClose
| qual_identifier
| ParOpen qual_identifier term+ ParClose
| ParOpen ParOpen GRW_Underscore qual_identifier term+ ParClose ParClose
Expand Down Expand Up @@ -862,7 +856,6 @@ logic
: ParOpen PS_Logic symbol logic_attribue+ ParClose
;


// Scripts

sort_dec
Expand Down
4 changes: 1 addition & 3 deletions src/parsing/SMTLIBv2.interp

Large diffs are not rendered by default.

Loading