Commit graph

18 commits

Author SHA1 Message Date
Dave Davenport
be3ce75f5d Make parsing of strings more flexible.
- Make use of building expressions.
2016-12-19 17:48:20 +01:00
Dave Davenport
d8b877147c Fix cleanup lexer, add properties to theme documentation. 2016-12-19 08:10:33 +01:00
Dave Davenport
a8a8906adc Improve theme parser on error. 2016-12-17 16:16:28 +01:00
Dave Davenport
b8e58b0342 Make parser more flexible, allow global properties to be anywhere in file and allow multiple similar entries. 2016-12-16 09:28:13 +01:00
Dave Davenport
fcba4b8d34 Support old argb:{HEX}{8} format. 2016-12-13 08:00:35 +01:00
Dave Davenport
38035568f3 Fix separator class and tweak parser inheritance. 2016-12-13 00:09:51 +01:00
Dave Davenport
fd64bb7a41 Improve lexer by adding support for modes. 2016-12-12 23:40:43 +01:00
Dave Davenport
be0677cf49 Update theme to new format.
- @class state {

}
- #name state {

}
2016-12-12 21:14:57 +01:00
Dave Davenport
c6030063c6 Keep track of location in parser 2016-12-12 16:55:31 +01:00
Dave Davenport
6cca2b1ecd Remove debug output 2016-12-11 21:58:55 +01:00
Dave Davenport
8f8d296029 Add support for // and /* */ comments 2016-12-11 18:25:47 +01:00
Dave Davenport
7f40ed1065 Add support for rgb() rgba() color codes 2016-12-11 17:50:03 +01:00
Dave Davenport
5e371eedeb Change language parser to glr type, remove type prefix. 2016-12-11 14:08:28 +01:00
Dave Davenport
1dfac3c4da Update to new theme 2016-12-11 12:19:46 +01:00
Dave Davenport
5fd76b75b1 Add some color stuff 2016-12-10 19:48:44 +01:00
Dave Davenport
2d01d1566a Add some properties to themes 2016-12-09 22:16:31 +01:00
Dave Davenport
aa8c90cd7e Fix include. 2016-12-09 20:04:50 +01:00
Dave Davenport
d18f037d1c Add lex/bison parser for theme. 2016-12-09 19:49:49 +01:00