diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-12 06:28:11 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-12 06:28:11 +0000 |
commit | dd65de9c47c0de84dc42135039c7f3a4e47cadc9 (patch) | |
tree | df5fb0e26601ed3bafc90fdbfd52f9fa73df500f | |
parent | b727a7536a70b74444ae57fac44be5c4f2eb8bf1 (diff) | |
download | ATCD-dd65de9c47c0de84dc42135039c7f3a4e47cadc9.tar.gz |
*** empty log message ***
-rw-r--r-- | TAO/CIAO/CIDLC/parser_examples/README | 28 | ||||
-rw-r--r-- | TAO/CIAO/CIDLC/parser_examples/cidl/cidl.mpc | 11 | ||||
-rw-r--r-- | TAO/CIAO/CIDLC/parser_examples/idl2/idl2.mpc | 11 | ||||
-rw-r--r-- | TAO/CIAO/CIDLC/parser_examples/idl3/idl3.mpc | 11 | ||||
-rw-r--r-- | TAO/CIAO/ChangeLog | 9 |
5 files changed, 65 insertions, 5 deletions
diff --git a/TAO/CIAO/CIDLC/parser_examples/README b/TAO/CIAO/CIDLC/parser_examples/README index cc00d62d27c..df0a141b2cc 100644 --- a/TAO/CIAO/CIDLC/parser_examples/README +++ b/TAO/CIAO/CIDLC/parser_examples/README @@ -7,15 +7,33 @@ example (IDL2, IDL3 and CIDL) is in its own directory and has its own test file. The Spirit files (these examples were compiled using Spirit 1.6.0) should be unpacked so the directory spirit-1.6.0 is in the CIDLC directory. The builds include too many files from Spirit to check them into the respository individually, -at least right now, but it is easy enough to download Spirit and unpack it. It -can be obtained at +at least right now, but it is easy enough to download Spirit and unpack it. It +can be obtained at http://spirit.sourceforge.net/ Spirit 1.6.0 can be downloaded along with the necessary parts of Boost 1.30.0. All I have at the moment are MSVC 7.1 solution and project files. Makefiles will -be forthcoming, or interested parties can contribute them ;-). Uncommenting +be forthcoming, or interested parties can contribute them ;-). + +***************************************************************** + +To use mwc, make sure you have the environment variable + + SPIRIT_DIR + +defined to point to the location where Spirit library is available, +and generate using one of the following: + +MSVC6: mwc -type vc6 +MSVC7: mwc -type vc7 +UNIX: mwc + +***************************************************************** + + +Uncommenting #define SPIRIT_DEBUG @@ -30,7 +48,7 @@ thus enabling us to eliminate constructs like idl3.idl2.* and so forth, although I think it may be informative sometimes to see at a -glance which grammar a rule originates from. It will also be possible to +glance which grammar a rule originates from. It will also be possible to compile each grammar into a DLL, but so much of the code is template-based that I'm not sure it will be worth it. I welcome suggestions and opinions about these issues. @@ -41,7 +59,7 @@ was convenient to implement composition's subrules down to the terminals. The IDL2 grammar header file contains a simple utility parse() method derived from the Spirit C grammar example. There is also a simple grammar for skipping -whitespace and comments, as well as #line and #pragma directives. All of these +whitespace and comments, as well as #line and #pragma directives. All of these features will need to be made more industrial-strength, and of course there are many additional features that will need to be added - #includes, error processing, etc. etc. diff --git a/TAO/CIAO/CIDLC/parser_examples/cidl/cidl.mpc b/TAO/CIAO/CIDLC/parser_examples/cidl/cidl.mpc new file mode 100644 index 00000000000..6fbaaf8337d --- /dev/null +++ b/TAO/CIAO/CIDLC/parser_examples/cidl/cidl.mpc @@ -0,0 +1,11 @@ +project(cidl) : aceexe { + exename = cidl + includes += .. $(SPIRIT_DIR) $(SPIRIT_DIR)/miniboost + Source_Files { + cidl.cpp + cidl_grammar.cpp + } + Header_Files { + cidl_grammar.h + } +}
\ No newline at end of file diff --git a/TAO/CIAO/CIDLC/parser_examples/idl2/idl2.mpc b/TAO/CIAO/CIDLC/parser_examples/idl2/idl2.mpc new file mode 100644 index 00000000000..4a2d79b80cb --- /dev/null +++ b/TAO/CIAO/CIDLC/parser_examples/idl2/idl2.mpc @@ -0,0 +1,11 @@ +project(idl2) : aceexe { + exename = idl2 + includes += .. $(SPIRIT_DIR) $(SPIRIT_DIR)/miniboost + Source_Files { + idl2.cpp + idl2_grammar.cpp + } + Header_Files { + idl2_grammar.h + } +}
\ No newline at end of file diff --git a/TAO/CIAO/CIDLC/parser_examples/idl3/idl3.mpc b/TAO/CIAO/CIDLC/parser_examples/idl3/idl3.mpc new file mode 100644 index 00000000000..73f2c2f4d8f --- /dev/null +++ b/TAO/CIAO/CIDLC/parser_examples/idl3/idl3.mpc @@ -0,0 +1,11 @@ +project(idl3) : aceexe { + exename = idl3 + includes += .. $(SPIRIT_DIR) $(SPIRIT_DIR)/miniboost + Source_Files { + idl3.cpp + idl3_grammar.cpp + } + Header_Files { + idl3_grammar.h + } +}
\ No newline at end of file diff --git a/TAO/CIAO/ChangeLog b/TAO/CIAO/ChangeLog index 94f4e47cd1f..b27825bb164 100644 --- a/TAO/CIAO/ChangeLog +++ b/TAO/CIAO/ChangeLog @@ -1,3 +1,12 @@ +Sat Apr 12 01:25:35 2003 Nanbor Wang <nanbor@cs.wustl.edu> + + * CIDLC/parser_examples/README: + * CIDLC/parser_examples/cidl/cidl.mpc: + * CIDLC/parser_examples/idl2/idl2.mpc: + * CIDLC/parser_examples/idl3/idl3.mpc: Added new MPC files to take + advantage of MPC/MWC tool. Updated the README to provide some + minimal instructions. + Tue Apr 8 23:10:43 2003 Jeff Parsons <j.parsons@vanderbilt.edu> * CIDLC/parser_examples/README: |