Commit Graph

21 Commits

Author SHA1 Message Date
Joakim Hove
9ccc70b58d Added enum for size of rawkeywords. 2013-12-04 17:21:54 +01:00
Kristian Flikka
9fddf998cf Fixed a bug with comments after keywords, right-side trims away dashes and spaces from the 8 char candidate 2013-11-20 14:35:48 +01:00
Kristian Flikka
006ab6d35d Added keywordName and dataFilename to RawRecord. Using these in the ParserRecord to give better error message when throwing on too long RawRecords 2013-11-07 12:32:07 +01:00
Joakim Hove
f0770f47fb Added filename and line nr to RawRecord 2013-10-08 15:23:45 +02:00
Joakim Hove
2913b526d7 Added isTableCollection attribute on Parser and Raw keyword - mainly to parse PVTG keyword 2013-10-01 16:35:55 +02:00
Joakim Hove
ff715812c0 isTerminatedRecordString() will inspect the partial input - and not the whole string 2013-09-30 11:13:23 +02:00
Joakim Hove
d8dff84cb3 Removed Logger class 2013-09-16 14:36:14 +02:00
Joakim Hove
7786f296d8 Removed RawKeyword::lineContainsData() and RawKeyword::lineTerminatesKeyword() 2013-08-13 14:49:01 +02:00
Joakim Hove
5c3de27077 1. Implemented support for inferring size from another kewyord - i.e EQLDIMS + EQUIL.
2. Cleaned up the main parser loop considerably; the RawKeyword instance now itself knows whether it is complete or not.
2013-08-11 12:36:16 +02:00
Kristian Flikka
fbb468342d Finished up the last pieces for a simple BPR keyword vertical. 2013-06-04 14:32:30 +02:00
Kristian Flikka
b43d95c5a2 Starting to wrap up from the top, added the missing DeckKW, and refactored a bit in some of the Raw classes that returned the internal structure 2013-06-03 15:54:16 +02:00
Kristian Flikka
bf3be4695d Refactoring, prefixing parser setup classes with Parser. 4 space indent. 2013-05-06 12:13:49 +02:00
Kristian Flikka
f7fdbe96fa Added some comments and documentation 2013-05-05 23:02:26 +02:00
Kristian Flikka
8b32658e54 Refactoring, more consts, etc. Comments from Joakim 2013-04-08 14:32:17 +02:00
Kristian Flikka
1868615a4a Moved some consts for the Raw classes to a separate file, characters and sizes 2013-04-08 10:31:54 +02:00
Kristian Flikka
c76767b9aa Adding recursive reading of Include files. Fixed a performance bug when appending strings to a record 2013-04-05 16:14:43 +02:00
Kristian Flikka
041ac87337 Removed unused variable 2013-04-04 15:54:55 +02:00
Kristian Flikka
aa8cd7b4ca Added a thin container for knowledge about keywords with fixed number of records. Changed some getter methods to return reference 2013-04-04 13:30:50 +02:00
Kristian Flikka
3adb09cb5a Review updates: Keyword can have numbers, comment lines can start with space, data can start at pos 0 on line, must explicitly have end-of-keyword control 2013-04-04 09:56:00 +02:00
Kristian Flikka
d24f487d18 Refactoring for readability. Added a couple of unit tests 2013-04-02 15:42:19 +02:00
Kristian Flikka
2be8700e66 Moved data to RawDeck, added gmon.out to gitignore 2013-04-02 13:39:41 +02:00