dehnert
8f4a4397e0
Started working on Markovian commands in PRISM programs.
Former-commit-id: 94ed3c747c
10 years ago
dehnert
1699732dce
More work on logic classes.
Former-commit-id: 9d94e02b74
10 years ago
dehnert
ab0caf79e8
Replaced action names by indices in PRISM programs.
Former-commit-id: e66820c247
10 years ago
dehnert
3260a6203c
Started improving performance of explicit model generation.
Former-commit-id: 318a97aedc
10 years ago
dehnert
7ec3e8b214
Further fixes for new variable handling. libstorm now compiles again, yay.
Former-commit-id: a9ac5c0356
10 years ago
dehnert
e49814d391
Modified pctl/csl/ltl options to now take formulas instead of files. Prefixed the macros with STORM_. Moved these macros into a file in the utilities. Modified architecture of the exception classes slightly. Threw away all the contents of main(). This will now be build from scratch.
Former-commit-id: 89d94f7957
11 years ago
dehnert
40c698af90
Some fixes to make new SMT framework compile with clang under Mac OS (includes fixes to some initializiation ordering warnings). Bugfix for PRISM parser to correctly handle formulas.
Former-commit-id: d513476066
11 years ago
dehnert
478f5ee38c
Started separating expression parsing from PRISM model parsing.
Former-commit-id: 84d1354f97
11 years ago
dehnert
c76e0e8d4d
Added class for initial construct of PRISM programs (to capture position information). Added more validity checks for programs and tests for them (not all though).
Former-commit-id: cf4e985684
11 years ago
dehnert
873d80cd2d
If a module is renamed from some other module, this is now kept track of in the respective PRISM classes.
Former-commit-id: c07e25ac55
11 years ago
dehnert
82836f1ad1
Added some checks for validity of identifiers in PRISM programs. Added some illegal tests to test suite.
Former-commit-id: fc44db75a7
11 years ago
dehnert
d0d80cf5e1
Started on making the PrismParser more robust.
Former-commit-id: 7ce1351d0c
11 years ago
dehnert
39ec9401ef
Fixed the PrismParser so the exact format of PRISMs boolean expressions can now be parsed.
Former-commit-id: bb08ec1646
11 years ago
PBerger
0a501b6e76
Added a constructor for GlobalProgramInformation as MSVC fails to default bool to false.
Former-commit-id: bd50a770c8
11 years ago
dehnert
311247ff0c
Added support for Xor in expression classes and added parsing functionality for Xor, Implies and Iff.
Former-commit-id: 16e023cf26
11 years ago
PBerger
94b25c02ca
Fixed bugs in some files.
Made LTL a little better to compile under WIN32.
Former-commit-id: 71377f0672
11 years ago
dehnert
164c8225fd
Fixed some minor issues.
Former-commit-id: 80f0ae4c9c
11 years ago
dehnert
199b6576a9
Added ternary operator. Parsing standard PRISM models into the PRISM classes now works. Included tests for parsing stuff. ToDo: add remaining semantic checks for parsing/PRISM classes and fix explicit model adapter.
Former-commit-id: cb37c98f1f
11 years ago
dehnert
f6587b424d
Further work on PrismParser and the related PRISM classes...
Former-commit-id: be4ae055dd
11 years ago
dehnert
cc0c327668
Removed superfluous grammars and started working on making one PRISM grammar to rule them all.
Former-commit-id: 375acb4699
11 years ago
PBerger
89909fe8dc
Edited all Parsers to lose its class.
Modified many classes to provide a reference-constructor.
Fixed a few bugs in Tests.
Former-commit-id: c31fe95aae
12 years ago
PBerger
f4050e5b18
Edited Parsers, re factored interface into a single function without an encapsulating class. Warning, this is work in Progress and not yet compiling.
12 years ago
Lanchid
ec91dcbe2e
Merge branch master into LTLParser
12 years ago
gereon
3b76126f6b
Split PrismParser and PrismGrammar in differenc object files.
Added reset method for grammars, now we can parse multiple files in one program execution.
Added test for mdp parsing.
12 years ago
gereon
014ecd8597
Fixed some glitches, producing meaningful error if sum of probabilities for a command is not one
12 years ago
gereon
9613d099bb
Removed shared_ptr for module, program and rewardmodel objects.
12 years ago
gereon
1878962dea
Fixed another nullptr, removed shared_ptr for Update and Command objects.
12 years ago
gereon
152bcd2f20
Porting Program datastructures to use shared_ptr (at least for the moment...)
some more cleanups
12 years ago
gereon
b92260fed0
A lot of work on PrismParser:
* Created a distinct parser for each expression type and for identifiers
* Removed all expression rules from PrismParser, using new parsers instead
* Reduced excessive usage of boost::lambda, using semantic actions only for single calls
* Moved actual state to new class (-> VariableState, whole two-run-logic can probably implemented there)
* Much cleanup
Work should be finished on expression parser, but not yet on prism parser...
12 years ago
gereon
bb37bc49f2
Compiling version of PrismParser.
12 years ago
gereon
e55fca3836
Implemented module renaming.
This includes clone() routines (that accept the renaming information) for all ir::expressions classes, additional constructors for all ir classes and additional rules in PrismParser.
This is the first version that has the chance to work and actually compiles. (Insert some swearing here...)
Testing is to be done, as this will most probably not work yet.
12 years ago
dehnert
a82c8b3153
Moved implementation of PrismParser completely to source file. Fixed some minor things in IR classes.
12 years ago
dehnert
4b7c6a8941
Splitted PrismParser class into header and implementation file. Commented both files properly. Cleaned interface of PrismParser.
12 years ago
dehnert
f52201466c
Parsing labels works now.
12 years ago
dehnert
6a33f84512
Another step towards PRISM model parsing: small models get recognized correctly.
12 years ago
dehnert
a44da7d50a
Commit to switch workplace.
12 years ago
dehnert
3deca3f2d3
Intermediate Commit to switch workplace.
12 years ago
dehnert
f7194a416d
Cleaned IR classes a bit and made attributes private. Changed grammar rules accordingly.
12 years ago
dehnert
b381321653
Added more classes to IR. Extended PRISM-format parser.
12 years ago
dehnert
a4b7b27829
Added parsing support for expressions. Now working on parsing probabilistic programs.
12 years ago
dehnert
a7ab5bb309
More fun with Spirit.
12 years ago
dehnert
92efc9c345
Taming Boost::Spirit...
12 years ago