Commit Graph

279 Commits

Author SHA1 Message Date
Joel de Guzman
861f9aa29c refactoring: moving low-level llvm stuff into separate classes
[SVN r73618]
2011-08-09 03:35:05 +00:00
Joel de Guzman
f4db273a73 refactoring: moving low-level llvm stuff into separate classes
[SVN r73617]
2011-08-09 01:53:00 +00:00
Joel de Guzman
159df190fb fun tweaks
[SVN r73604]
2011-08-08 00:22:41 +00:00
Joel de Guzman
09cbc28274 error report on prefix++/-- when an lvalue is not found
[SVN r73597]
2011-08-07 15:15:56 +00:00
Joel de Guzman
665aef0591 Fixed grammar for unary expressions
[SVN r73591]
2011-08-07 06:19:50 +00:00
Joel de Guzman
6903c36713 samples update
[SVN r73590]
2011-08-07 05:39:38 +00:00
Joel de Guzman
e3b64340e2 make operand an extended_variant so we can tag it (among other things).
[SVN r73588]
2011-08-07 00:39:40 +00:00
Hartmut Kaiser
201007c533 Spirit: fixing compilation problems
[SVN r73578]
2011-08-06 18:33:40 +00:00
Joel de Guzman
eb23674ff1 more tweaks
[SVN r73577]
2011-08-06 16:42:29 +00:00
Joel de Guzman
b1906de0ab Better llvm abstraction
[SVN r73576]
2011-08-06 16:31:43 +00:00
Joel de Guzman
cd59873c6a more tweaks
[SVN r73575]
2011-08-06 15:27:48 +00:00
Joel de Guzman
fc3a6fb02a Now pre++ and pre-- works. lvalue handling works.
[SVN r73574]
2011-08-06 15:11:52 +00:00
Joel de Guzman
e50539e7cb refactoring the compiler
[SVN r73573]
2011-08-06 14:55:21 +00:00
Joel de Guzman
da59539948 refactoring the compiler
[SVN r73570]
2011-08-06 12:05:23 +00:00
Joel de Guzman
95bb775cac misc updates
[SVN r73568]
2011-08-06 09:17:59 +00:00
Joel de Guzman
badbe1c329 unary ops + tests
[SVN r73567]
2011-08-06 04:27:35 +00:00
Joel de Guzman
1c058a6ff4 More binary operators
[SVN r73566]
2011-08-06 03:38:28 +00:00
Joel de Guzman
48d7a9fd33 conjure3 assign-ops + bug fixes for all
[SVN r73565]
2011-08-06 03:14:47 +00:00
Joel de Guzman
9bc311f33a Better token addition syntax
[SVN r73560]
2011-08-06 01:24:06 +00:00
Joel de Guzman
76b3e03d11 Moved extended_variant into its own file(s)
[SVN r73559]
2011-08-06 01:05:40 +00:00
Joel de Guzman
74f28d0699 Updates. Preparation for supporting more operators (starting with assignment operators).
[SVN r73557]
2011-08-06 00:57:10 +00:00
Joel de Guzman
82e652ae5e expression assignments working
[SVN r73456]
2011-07-31 01:05:52 +00:00
Joel de Guzman
71a59946df made assignment an expression as in C/C++. Back-end is unstable (WIP).
[SVN r73455]
2011-07-31 00:57:18 +00:00
Hartmut Kaiser
a63e389588 Spirit: Fixed bad token ids in conjure examples
[SVN r73452]
2011-07-30 19:33:09 +00:00
Joel de Guzman
138d52af26 separate processing of assign and binary ops
[SVN r73442]
2011-07-30 13:57:06 +00:00
Joel de Guzman
4d3a7c395e updated debug support
[SVN r73441]
2011-07-30 13:56:23 +00:00
Joel de Guzman
370da35bd4 updated debug support
[SVN r73440]
2011-07-30 13:55:11 +00:00
Hartmut Kaiser
dac12b14be Spirit: Fixing ambiguity of name 'token' in the lexer definition (as reported by gcc)
[SVN r73412]
2011-07-28 15:45:15 +00:00
Joel de Guzman
3fdae2814a Literals
[SVN r73376]
2011-07-26 13:34:51 +00:00
Hartmut Kaiser
835350e39b Spirit: typo fix in comments
[SVN r73368]
2011-07-26 01:12:47 +00:00
Hartmut Kaiser
ad64f73e80 Spirit: Fixing wrong error position reported by lexer based conjure examples
[SVN r73367]
2011-07-26 01:11:11 +00:00
Joel de Guzman
4e41c1709d minor tweak
[SVN r73366]
2011-07-26 00:42:21 +00:00
Joel de Guzman
00f9d0ce89 tweaks to make it similar to conjure's example
[SVN r73355]
2011-07-25 09:48:45 +00:00
Joel de Guzman
c895d307e6 Tweaks (separated precedence again)
[SVN r73343]
2011-07-24 23:47:43 +00:00
Joel de Guzman
b57ece4597 improved enumerations and constants
[SVN r73330]
2011-07-24 16:08:45 +00:00
Joel de Guzman
4bbee95961 LLVM backend!
[SVN r73206]
2011-07-18 04:06:05 +00:00
Hartmut Kaiser
70f3203017 Spirit: comment fixes
[SVN r73133]
2011-07-16 02:10:59 +00:00
Hartmut Kaiser
55f4d1564b Spirit: simplified token-id interface for lexer
[SVN r73132]
2011-07-16 01:55:47 +00:00
Joel de Guzman
27278842a0 Removing extra prints
[SVN r73116]
2011-07-15 02:51:18 +00:00
Joel de Guzman
8dcbebc53d fixed ID annotation
[SVN r73115]
2011-07-15 00:38:20 +00:00
Bryce Adelstein-Lelbach
e907da7086 Remove second and unreachable return statement.
[SVN r72561]
2011-06-12 21:05:30 +00:00
Joel de Guzman
235670ce4a fixed odd g++ behavior
[SVN r72469]
2011-06-07 16:02:35 +00:00
Joel de Guzman
add30b78c8 fixed odd g++ behavior
[SVN r72467]
2011-06-07 15:49:22 +00:00
Hartmut Kaiser
12d65ba219 Spirit: more comments
[SVN r72466]
2011-06-07 12:51:00 +00:00
Joel de Guzman
d8fadf06ea Renaming conjure_lexer into conjure2
[SVN r72465]
2011-06-07 05:05:53 +00:00
Joel de Guzman
0a2d34d5d5 fixed bad code using (...)
[SVN r72430]
2011-06-06 02:48:23 +00:00
Hartmut Kaiser
46fe0ee598 Spirit: minor fixes to conjure_lexer
[SVN r72429]
2011-06-06 02:01:43 +00:00
Hartmut Kaiser
f58f5ea557 Spirit: adding conjure_lexer example, fixing a couple of lexer bugs
[SVN r72410]
2011-06-05 15:10:11 +00:00
Joel de Guzman
a9668e848e provided printing for nil
[SVN r71866]
2011-05-11 01:02:46 +00:00
Joel de Guzman
8e3ef5fe7e Minor tweaks
[SVN r71399]
2011-04-21 05:13:30 +00:00
Hartmut Kaiser
575df4e144 Spirit: fixing more problems with using adapted ADTs in Kamra
[SVN r71305]
2011-04-16 02:10:11 +00:00
Hartmut Kaiser
a26c58c4ef Spirit: fixing/adding examples
[SVN r71269]
2011-04-15 11:19:43 +00:00
Hartmut Kaiser
ee1c4791b6 Spirit: fixing the unescaped_string example
[SVN r71202]
2011-04-12 14:52:14 +00:00
Joel de Guzman
8b5acda525 Fix for MSVC 10
[SVN r71196]
2011-04-12 00:32:59 +00:00
Joel de Guzman
16fc0961c4 - fixed mini_c precedence
- prelude to adding more operators in conjure

[SVN r69814]
2011-03-10 01:18:58 +00:00
Joel de Guzman
f1b0bf99ce The conjure PL
[SVN r69774]
2011-03-09 16:41:47 +00:00
Joel de Guzman
bdb20d750f The conjure PL
[SVN r69773]
2011-03-09 16:35:57 +00:00
Joel de Guzman
7af69cd607 Removing old calculators
[SVN r69675]
2011-03-08 02:36:48 +00:00
Joel de Guzman
07ef3ead0e moving mini_c samples
[SVN r69673]
2011-03-08 02:33:41 +00:00
Joel de Guzman
7938177f27 Quick tweaks
[SVN r69623]
2011-03-07 10:27:49 +00:00
Joel de Guzman
c7d60b8b00 mini_c + updates
[SVN r69618]
2011-03-07 07:02:19 +00:00
Joel de Guzman
a3a9eaa9e6 calc8
[SVN r69444]
2011-03-01 17:26:06 +00:00
Joel de Guzman
3bcae0d356 silenced the pesky msvc warning
[SVN r69433]
2011-03-01 07:00:31 +00:00
Joel de Guzman
1666974821 small error reporting tweaks
[SVN r69432]
2011-03-01 04:13:10 +00:00
Joel de Guzman
5ed7b1932b added assembler printing
[SVN r69429]
2011-03-01 03:06:33 +00:00
Joel de Guzman
3c4922c464 Better error handling and reporting.
[SVN r69380]
2011-02-28 11:57:37 +00:00
Joel de Guzman
1b038c35b0 Minor tweaks
[SVN r69379]
2011-02-28 10:15:00 +00:00
Joel de Guzman
c0c28a05e9 Better error handling
[SVN r69378]
2011-02-28 06:06:50 +00:00
Joel de Guzman
1267e26fe3 almost working
[SVN r69337]
2011-02-27 16:30:51 +00:00
Joel de Guzman
f21410dcfe statement grammar plus various updates
[SVN r69323]
2011-02-27 11:58:18 +00:00
Joel de Guzman
660609d2ec calc7 updates: tagging the AST
[SVN r69298]
2011-02-26 09:54:14 +00:00
Joel de Guzman
71fca7b45e updates
[SVN r69297]
2011-02-26 08:35:11 +00:00
Joel de Guzman
68fb071c02 more updates
[SVN r69233]
2011-02-24 06:31:06 +00:00
Joel de Guzman
5ac9739feb More updates
[SVN r69204]
2011-02-23 10:54:02 +00:00
Joel de Guzman
96c1aa8399 the compiler tutorial
[SVN r69202]
2011-02-23 07:21:33 +00:00
Joel de Guzman
660ed70a87 Tweaks. Allow attribute compatibility on alternatives
[SVN r69024]
2011-02-19 09:22:28 +00:00
Joel de Guzman
c835d03ea7 New calculator generating AST (no SAs)
[SVN r68989]
2011-02-18 15:09:40 +00:00
Joel de Guzman
b49f827549 added option to have no predefined terminals
[SVN r68744]
2011-02-09 10:44:41 +00:00
Joel de Guzman
25d850bba5 reverting code to reflect tutorial
[SVN r68447]
2011-01-25 23:39:30 +00:00
Bryce Adelstein-Lelbach
51ab66858a Docs for karma::as, more utree docs.
[SVN r68163]
2011-01-14 23:15:23 +00:00
Bryce Adelstein-Lelbach
dd897317ca Re-added Qi numeric literals as they no longer break Qi auto-magic.
[SVN r67902]
2011-01-10 03:04:31 +00:00
Joel de Guzman
b30b5156e3 updated to use rule pointers for efficiency
[SVN r67901]
2011-01-10 01:11:28 +00:00
Joel de Guzman
ba9a3c3092 updated to use rule pointers for efficiency
[SVN r67900]
2011-01-10 01:08:46 +00:00
Bryce Adelstein-Lelbach
e1b0e45a5d Removed Qi numeric literals (interference w/ auto magic)
[SVN r67737]
2011-01-06 23:37:52 +00:00
Hartmut Kaiser
83a792d7ed Spirit: updating copyrights
[SVN r67619]
2011-01-03 16:58:38 +00:00
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
Hartmut Kaiser
3bab48844d Spirit: adding docs for hold[]
[SVN r67384]
2010-12-21 14:04:46 +00:00
Hartmut Kaiser
72e2e170b6 Spirit: adding examples demonstrating parsing with utree
[SVN r67372]
2010-12-20 19:32:40 +00:00
Hartmut Kaiser
13f6c2e53d Spirit: adding one more calculator example, this time filling an utree
[SVN r66939]
2010-12-01 00:21:58 +00:00
Hartmut Kaiser
3971022cb3 Spirit: Adding new example
[SVN r66560]
2010-11-13 20:26:22 +00:00
Hartmut Kaiser
637d7522af Spirit: adjusting code to pass new assert inspect rule
[SVN r66504]
2010-11-12 00:36:49 +00:00
Hartmut Kaiser
735c08fe81 Spirit: fixing mini_c example for VS2010 and fixing a operator precedence bug there
[SVN r65088]
2010-08-28 15:50:42 +00:00
Hartmut Kaiser
91c482fc47 Spirit: updating comments
[SVN r65057]
2010-08-27 18:06:24 +00:00
Hartmut Kaiser
b27ba040de Spirit: adding example showing how to parse into a QString
[SVN r65056]
2010-08-27 18:02:34 +00:00
Hartmut Kaiser
ec0f0a63fe Spirit: Fixing Qi example for ggc
[SVN r63755]
2010-07-08 18:11:42 +00:00
Joel de Guzman
825925208a Examples bug fixes and code tweaks to make g++ 4.2 happy.
[SVN r63729]
2010-07-08 02:49:09 +00:00
Hartmut Kaiser
ea7437f2f7 Spirit: Fixing problem with Qi example
[SVN r63699]
2010-07-06 14:48:45 +00:00
Daniel James
8fbd5b5f1d Fix quoting in spirit example.
[SVN r63622]
2010-07-04 18:52:48 +00:00
Joel de Guzman
a7d88c949d removed hack and used straight template instantiation
[SVN r63277]
2010-06-24 02:02:56 +00:00