Commit Graph

172 Commits

Author SHA1 Message Date
Bryce Adelstein-Lelbach
1446a3fa25 Parameterized and literal support for integer, real and boolean parsers. Fix for
lazy parser and handles_container<>. Added docs for as<T> (docs for Qi only).



[SVN r67553]
2011-01-01 22:22:56 +00:00
Bryce Adelstein-Lelbach
c4ea90c69b Added support for integral literals to Qi.
[SVN r67508]
2010-12-30 21:55:39 +00:00
Bryce Adelstein-Lelbach
eac6e38159 Reorganized Spirit tests, broke down larger tests so they won't time out on
ICC.



[SVN r67494]
2010-12-29 21:17:01 +00:00
Hartmut Kaiser
0fa3a02cd6 Spirit: added test
[SVN r67455]
2010-12-26 15:30:11 +00:00
Bryce Adelstein-Lelbach
555ce8238d Retooled the get_c_string customization point in Spirit (reimplemented it as
a static member of a template struct) to fix parameterized use of karma::string
with utree (e.g., string("foo")). Broke the Spirit test-suite into five test-suites
in the test Jamfile for testing individual Spirit modules (this doesn't change
what tests are run if you just invoke 'bjam' in libs/spirit/test, nor does it change
where in the build directory the tests are placed). Added some more utree tests.



[SVN r67380]
2010-12-21 07:17:40 +00:00
Hartmut Kaiser
ab5c13c58c Spirit: working on utree integration with Karma, adding tests
[SVN r67052]
2010-12-06 00:14:19 +00:00
Hartmut Kaiser
b638e2cba0 Spirit: adding basic utree tests
[SVN r66916]
2010-11-30 20:14:08 +00:00
Hartmut Kaiser
acbd5cca5d Spirit: adding minimal utree tests
[SVN r66913]
2010-11-30 19:50:10 +00:00
Hartmut Kaiser
3ddbb0263b Spirit: added new test for lexer id_types not equal to std::size_t
[SVN r66849]
2010-11-29 18:51:12 +00:00
Hartmut Kaiser
fdcc51780c Spirit: adding more tests, updating docs
[SVN r66796]
2010-11-27 16:05:13 +00:00
Hartmut Kaiser
42dc03c37b Spirit: added one more lexer regression test
[SVN r66761]
2010-11-25 22:41:23 +00:00
Hartmut Kaiser
07aaaca51b Spirit: adding new test for lexer lookahead
[SVN r66741]
2010-11-24 23:51:56 +00:00
Hartmut Kaiser
13a4d3c83a Spirit: adding yet another regression test
[SVN r66738]
2010-11-24 18:10:35 +00:00
Hartmut Kaiser
e329f1b28e Spirit: adding test case for lexer problem fixed with the previous commit
[SVN r66736]
2010-11-24 17:16:23 +00:00
Hartmut Kaiser
67789d3e51 Spirit: added regression test for qi::repeat
[SVN r66169]
2010-10-25 00:53:56 +00:00
Hartmut Kaiser
d0252c5aa6 Spirit: fixed #4742 (Karma produces not the supposed output for a real number generator in scientific mode), added test
[SVN r66051]
2010-10-17 20:41:51 +00:00
Hartmut Kaiser
94eb1365dd Added test case for broken debug output for optionals
[SVN r64973]
2010-08-23 17:55:47 +00:00
Hartmut Kaiser
6d828ccc85 Spirit: fixed a problem while handling single element sequence attributes
[SVN r64258]
2010-07-22 13:24:20 +00:00
Hartmut Kaiser
e53af16ab2 Spirit: added karma::duplicate[] directive, tests and docs
[SVN r63892]
2010-07-11 19:41:53 +00:00
Hartmut Kaiser
ab1f828376 Spirit: fixed #4253: Error with lex::_val, added test
[SVN r62184]
2010-05-25 02:55:57 +00:00
Hartmut Kaiser
bcf948448b Spirit: fixing const correctness problem, added test
[SVN r62144]
2010-05-22 14:28:52 +00:00
Hartmut Kaiser
e7dcdee2c7 Spirit: enabling Qi debug test
[SVN r61478]
2010-04-22 01:01:07 +00:00
Hartmut Kaiser
2966839ec7 Spirit: fixed gcc compilation problems, added karma debug support, fixed Qi debug indentation
[SVN r61475]
2010-04-21 23:35:50 +00:00
Hartmut Kaiser
36a531388f Spirit: added regression test
[SVN r61426]
2010-04-20 14:37:58 +00:00
Hartmut Kaiser
f0b3d3c909 Spirit: fixed attribute propagation of optionals in rules
[SVN r61328]
2010-04-16 22:47:13 +00:00
Hartmut Kaiser
13b3ef8e1b Spirit: added new test
[SVN r61124]
2010-04-07 13:27:52 +00:00
Hartmut Kaiser
1420ca57dc Spirit: implemented new encoding features for Karma, added tests
[SVN r60257]
2010-03-06 21:59:15 +00:00
Joel de Guzman
d04374aabb encoding directive
[SVN r60184]
2010-03-05 13:30:35 +00:00
Hartmut Kaiser
7576bd0c7b Spirit: fixing copyrights
[SVN r60155]
2010-03-04 19:00:09 +00:00
Hartmut Kaiser
38152660b1 Spirit: Fixed return value for expect parser if exceptions are not enabled.
[SVN r60154]
2010-03-04 18:58:28 +00:00
Hartmut Kaiser
99f7c4a8a8 Spirit: fixed #3815 (Clearing an iterator range), added test
[SVN r59930]
2010-02-26 01:13:28 +00:00
Hartmut Kaiser
30018804eb Spirit: adding no_skip[] directive, docs, tests, etc.
[SVN r59719]
2010-02-17 02:18:44 +00:00
Joel de Guzman
104e749067 added hold directive
[SVN r59520]
2010-02-06 01:55:56 +00:00
Hartmut Kaiser
9460453df6 Spirit: added another testcase for multi_pass
[SVN r59496]
2010-02-05 00:45:18 +00:00
Hartmut Kaiser
c26800257e Spirit: added testcase for latest regression
[SVN r59487]
2010-02-05 00:32:14 +00:00
Hartmut Kaiser
6943646dd8 Spirit: adding tests for the matches[] directive
[SVN r58798]
2010-01-08 02:35:10 +00:00
Hartmut Kaiser
1bcf398ae5 Spirit: adding karma::columns directive, tests
[SVN r58121]
2009-12-03 17:47:30 +00:00
Hartmut Kaiser
ae775567c9 Spirit: fixes to karma::auto_, added qi::auto_, added tests
[SVN r58048]
2009-11-29 23:30:50 +00:00
Hartmut Kaiser
fa09b0f10c Spirit: added karma::auto_ and related facilities, added test
[SVN r58042]
2009-11-29 21:28:22 +00:00
Hartmut Kaiser
fca181ea0a Spirit: added karma::symbols generator, updated docs, tests, and example
[SVN r57974]
2009-11-27 19:09:02 +00:00
Hartmut Kaiser
b27b5c312a Spirit: started to integrate re2c style code generator for lexer
[SVN r57563]
2009-11-11 03:58:20 +00:00
Hartmut Kaiser
8d41d43c5b Spirit: added new lexer test
[SVN r57299]
2009-11-03 01:54:01 +00:00
Hartmut Kaiser
92977a52a2 Spirit: added new lexer test
[SVN r57278]
2009-11-01 17:51:02 +00:00
Hartmut Kaiser
3e9c2bdf68 Spirit: restructured customization points, added qi::attr_cast, added phoenix expression support for Karma attributes, updated tests
[SVN r56534]
2009-10-02 21:19:08 +00:00
Hartmut Kaiser
3e88852d0b Spirit: added qi::bool_ docs
[SVN r56470]
2009-09-29 14:30:33 +00:00
Hartmut Kaiser
a56a0dca23 Spirit: added karma attr_cast, doc update
[SVN r56466]
2009-09-29 01:27:46 +00:00
Hartmut Kaiser
d57ae0dcd7 Spirit: refined bool_policies
[SVN r56463]
2009-09-29 00:28:10 +00:00
Hartmut Kaiser
e8602a932f Spirit: docs for bool_ generators
[SVN r56458]
2009-09-28 20:49:38 +00:00
Hartmut Kaiser
741bbae6ad Spirit: added new test case
[SVN r56255]
2009-09-17 01:47:31 +00:00
Hartmut Kaiser
cea2cbd764 Spirit: Karma character class generator doc update
[SVN r55517]
2009-08-11 00:56:35 +00:00
Hartmut Kaiser
1d328361fa Spirit: doc update, test adjustments for recent change in attribute semantics
[SVN r55495]
2009-08-09 23:06:02 +00:00
Hartmut Kaiser
935c56e9c4 Spirit: documentation update, test cases added
[SVN r55390]
2009-08-03 15:55:34 +00:00
Hartmut Kaiser
e7f52fe0ba Spirit: renamed an unit test
[SVN r55378]
2009-08-03 02:27:14 +00:00
Hartmut Kaiser
e9552531d2 Spirit: added test case for formatting containers holding pointers
[SVN r55241]
2009-07-28 19:08:05 +00:00
Hartmut Kaiser
b17f1be4c2 Spirit: added attr() pseudo parser test cases and quickdoc
[SVN r55128]
2009-07-23 15:57:37 +00:00
Hartmut Kaiser
289e5f6b2b Spirit: fixed lexer placeholders to correctly integrate with nested Phoenix expressions (added test)
[SVN r54772]
2009-07-07 15:40:01 +00:00
Hartmut Kaiser
8c75fd6497 Spirit: renaming a lexer test
[SVN r54721]
2009-07-06 19:35:50 +00:00
Hartmut Kaiser
6328fec700 Spirit: added missing typedef, fixed iterator_range initialization
[SVN r54713]
2009-07-06 15:13:53 +00:00
Hartmut Kaiser
44ae8d6c5b Spirit: Added support for accessing the token value from a lexer semantic action
[SVN r54677]
2009-07-05 18:51:56 +00:00
Hartmut Kaiser
9588759357 Spirit: Fixed test build system
[SVN r53868]
2009-06-13 13:48:56 +00:00
Hartmut Kaiser
c4a150c7c0 Spirit: Lot of work done in Lexer, fixed bugs, added support functions, refactored code
[SVN r53791]
2009-06-11 03:39:04 +00:00
Hartmut Kaiser
c3697fc5dc Spirit: added more lexer tests
[SVN r53236]
2009-05-25 03:24:42 +00:00
Hartmut Kaiser
f8e3a1bafd Spirit: Added karma repeat tests
[SVN r53086]
2009-05-18 15:26:57 +00:00
Hartmut Kaiser
4a43197afe Spirit: More lexer regression tests
[SVN r52952]
2009-05-13 02:11:53 +00:00
Hartmut Kaiser
33946739bf Spirit: Added a new test case
[SVN r52768]
2009-05-05 13:00:56 +00:00
Hartmut Kaiser
0e269c620b Spirit: fixes to test build system
[SVN r52684]
2009-04-30 17:02:14 +00:00
Hartmut Kaiser
436886de50 Merging Spirit V2.1
[SVN r52605]
2009-04-26 14:46:34 +00:00
Hartmut Kaiser
8ce1053ef4 Trying to fix template instantiation depth errors on certain gcc/darwin platforms
[SVN r52427]
2009-04-16 18:39:48 +00:00
Hartmut Kaiser
c47a24f646 Spirit.Qi: Added confix parser
[SVN r48399]
2008-08-27 00:17:06 +00:00
Hartmut Kaiser
7cd35e6802 Spirit: Applied pending commits from release branch
[SVN r47860]
2008-07-29 02:12:59 +00:00
Hartmut Kaiser
1350df1cef Spirit: Split the pattern test (it timed out on one of the platforms)
[SVN r47600]
2008-07-19 14:23:10 +00:00
Joel de Guzman
f8cee7c805 upped -ftemplate-depth to 300 on gcc
[SVN r47529]
2008-07-18 01:35:29 +00:00
Joel de Guzman
0b5dea5b84 restored unwanted commit
[SVN r47332]
2008-07-12 01:22:49 +00:00
Joel de Guzman
0c9d58d59b no more grammar_def
[SVN r47313]
2008-07-11 15:30:24 +00:00
Hartmut Kaiser
1ed5def5ea Spirit: docs
[SVN r47244]
2008-07-08 18:36:05 +00:00
Hartmut Kaiser
26d1480961 Spirit.Qi: Added new test to test Jamfile
[SVN r44671]
2008-04-21 02:02:37 +00:00
Hartmut Kaiser
679e89be50 Spirit.Karma: Added actions test
[SVN r44659]
2008-04-21 00:20:39 +00:00
Hartmut Kaiser
6ef195bf25 Spirit: removed multi_pass tests from regression runs, these are not completed yet.
[SVN r44568]
2008-04-19 01:11:17 +00:00
Joel de Guzman
abb5ca0886 added actions test + bug fixes
[SVN r44537]
2008-04-18 10:32:09 +00:00
Joel de Guzman
2431a80d8a spirit2 ! :)
[SVN r44360]
2008-04-13 03:02:30 +00:00
Vladimir Prus
6fe54321d6 Remove V1 Jamfiles
[SVN r38516]
2007-08-08 19:02:26 +00:00
João Abecasis
6f0cf670ad Added a simple test for detecting post-skips.
[SVN r38103]
2007-06-27 00:53:57 +00:00
João Abecasis
2bb0982a55 typo
[SVN r33412]
2006-03-20 23:27:20 +00:00
Tobias Schwinger
a6c48a872b changes the names of the typeof support tests to a scheme that works better with the regression test system
[SVN r32816]
2006-02-10 18:11:25 +00:00
Tobias Schwinger
3d8deefeec adds test suite for typeof support
[SVN r32805]
2006-02-10 12:49:34 +00:00
João Abecasis
d0d6360d8c Added test case for mix and matching tree policies with gen_pt_node_d and
gen_ast_node_d.


[SVN r32713]
2006-02-07 17:21:37 +00:00
Douglas Gregor
86fba2671c Merged from Version_1_33_1
[SVN r31954]
2005-12-08 04:19:11 +00:00
Joel de Guzman
8c4ac9b4da fixed scanner for handling non-PODs
[SVN r31872]
2005-12-02 02:13:18 +00:00
John Maddock
0499e1c553 Make requirements a requirement, not a BUILD preference.
[SVN r31263]
2005-10-10 16:30:11 +00:00
Stefan Slapeta
a214b88d37 Turn off debug info for traverse_tests on intel
[SVN r30746]
2005-08-31 08:24:22 +00:00
Rene Rivera
595169d8b5 Some slight cleanup of vc7 vs. vc-7_0, and msvc vs. vc-6_5.
[SVN r29487]
2005-06-09 00:52:17 +00:00
João Abecasis
b96fa95744 fix embedding of grammar with multiple_entries
bug reported by David Pierre here:
    http://article.gmane.org/gmane.comp.parsers.spirit.general/8860


[SVN r28010]
2005-04-06 11:11:01 +00:00
Joel de Guzman
e3a52f4e93 allow evaluation to int as condition to if_p parser
[SVN r27490]
2005-02-23 12:06:25 +00:00
João Abecasis
e0075a7e27 tst.add shall assert if string contains null character
tst.find shall not match null characters in the input


[SVN r26700]
2005-01-14 14:00:47 +00:00
Hartmut Kaiser
27768af59e Added 3 new test cases.
[SVN r26293]
2004-11-25 10:37:51 +00:00
Stefan Slapeta
59a5d17b38 Insert missing blank to make file valid again
[SVN r26183]
2004-11-11 14:51:09 +00:00
Hartmut Kaiser
f27b52c11a Added new test case for select_p containing a rule.
[SVN r26125]
2004-11-06 10:31:46 +00:00
Hartmut Kaiser
3b767295e3 Fixed long filenames.
[SVN r25033]
2004-09-13 09:24:06 +00:00
Joel de Guzman
b2ed7c201f tweaks + added insert_at_a
[SVN r24577]
2004-08-19 02:30:09 +00:00
Joel de Guzman
490e99c8ae Moving away from Boost.Test. Fixing como problems.
[SVN r24217]
2004-08-01 05:59:56 +00:00