Commit graph

72 commits

Author SHA1 Message Date
Dustin Mitchell
5eb27e2b74 Changed to catch up with new DOH version (removed scopes), and fixed a few
compiler warnings about unused variables.  Conflicts with ttn's modifications
were resolved in my favor.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@442 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 18:03:28 +00:00
Thien-Thi Nguyen
db9b55ba52 (Super_scope): Replace call to non-existent(?) `Setscope'
w/ a fprintf to stderr warning of `Super_scope' damage.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@440 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 08:11:30 +00:00
Thien-Thi Nguyen
f55be8b52f Include ctype.h as dependency.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@432 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 06:17:02 +00:00
Thien-Thi Nguyen
ea61f85774 (StringType_get_tag): Fix omission bug: Cast `DohMalloc()'
return value to `char *'.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@431 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-05-11 06:16:37 +00:00
Dave Beazley
367bf346a0 Added banner.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@420 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-13 03:29:27 +00:00
Dave Beazley
88b7a1908c Added include directory.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@419 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-13 03:24:17 +00:00
Dave Beazley
6d6243e279 Added warning message.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-11 22:48:42 +00:00
Dave Beazley
0b454425a4 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@405 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-11 21:23:07 +00:00
Dave Beazley
eb5c026373 Added SwigWrapper
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@404 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-11 21:22:56 +00:00
Dave Beazley
166db98dbe Work in progress
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@403 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-11 04:32:11 +00:00
Dave Beazley
4c57dc5b56 Added SwigWrapper object.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@402 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-11 04:31:37 +00:00
Dave Beazley
c7e85821ed *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@401 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-11 03:59:54 +00:00
Dave Beazley
0313f7aa4b Rewrote.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@399 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-10 15:25:07 +00:00
Dave Beazley
9cfba9a811 Cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@391 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 22:47:51 +00:00
Dave Beazley
bd6fb3ab4a Cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@390 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 22:47:11 +00:00
Dave Beazley
a774679eaa Name cleanup.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@385 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 03:38:23 +00:00
Dave Beazley
1d9ab3c0cf Name cleanup
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@384 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-04-05 03:37:37 +00:00
Thien-Thi Nguyen
e618e1c5bf (NewString): Take DOH *' instead of char *'.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@351 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-31 00:59:40 +00:00
Thien-Thi Nguyen
d5ce3c44af (NewString, String_check, List_check, Hash_check): For these function
declarations, constify arg to match ../DOH/Include/doh.h.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@350 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-31 00:57:18 +00:00
Dustin Mitchell
87cf7e1732 Cleaned up code to convert to/from the string representation; improved
string representation sufficiently that it now represents cleanly
everything that the DOH object representation can.  Comparison on DOH type
objects now tests only for complete equivalence of form, and should match
string comparison of string representations.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@344 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-16 02:53:57 +00:00
Dave Beazley
d6c4c39b26 Renamed string type encoding functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@342 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-15 04:58:52 +00:00
Dave Beazley
35d28e7517 Renamed to StringType functions.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@341 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-15 04:58:25 +00:00
Dave Beazley
89a7c985d8 Renamed my (bogus) string-based type encoding functions to
"StringType_<blah>" to avoid confusion with functions that operate on real types.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@340 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-15 04:57:47 +00:00
Dustin Mitchell
cad037143c Added code to suck up a Dave-Type-String and create a real type from it.
Should mostly work, probably needs some minor debuggering.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-03-14 23:17:48 +00:00
Dave Beazley
9f42c8e363 Added matching code
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@286 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-28 17:05:46 +00:00
Dave Beazley
5ea3f52041 Slash, burn, crash, crumble. Don't mind me.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@279 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-27 03:47:17 +00:00
Thien-Thi Nguyen
66b260c1ff {Changes to enable non-local build}
(srcdir, VPATH): New vars.  Use where appropriate.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@268 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-26 05:06:40 +00:00
Dave Beazley
a04d5c74a4 Added tree.c
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@262 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-25 00:20:04 +00:00
Dave Beazley
a3ac9bf439 Bug fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@253 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-23 05:57:23 +00:00
Dave Beazley
eb2a42a9be Added another experimental type implementation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@250 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-22 20:51:33 +00:00
Dustin Mitchell
b8ac1341a8 Bitten by order of operations! The ? operator has weird precedence
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@186 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 18:55:57 +00:00
Dave Beazley
4216fb8a40 Commented out broken code with ? operations.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@183 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 16:39:16 +00:00
Dustin Mitchell
3ecf5737f4 Finished the type interface (type.c)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@172 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-02 00:22:44 +00:00
Dave Beazley
936f046d5b Back to simple makefiles (at least for now)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@171 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-02-01 22:24:39 +00:00
Loic Dachary
8a34196fc6 Conditionaly compile experimental code with --enable-experiment
configure flag.
  Fix .cvsignore to ignore configrue & yacc generated files


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@169 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-30 15:39:55 +00:00
Dave Beazley
c85c99425c Cleaned up the makefiles, fixed a few build problems, removed YACC-generated files from the repository
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@166 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-29 14:44:27 +00:00
Loic Dachary
a8a25ef4ee Old Makefile.in saved in Makefile.in.python
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@165 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-29 01:09:17 +00:00
Loic Dachary
d0ab9150f3 1/28/00 : loic
Apply automake everywhere
  Keep configure scripts so that people are not *forced* to autoconf
          Keep sources generated by yacc so that compilation without yacc
  is possible.
  Source/LParse/cscanner.c: change lyacc.h into parser.h to please
  default yacc generation rules.
  Use AC_CONFIG_SUBDIRS in configure.in instead of hand made script.
  Update all relevant .cvsignore to include .deps
  Fixed missing ; line 136 Source/Swig/swig.h


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@164 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-29 01:06:10 +00:00
Dustin Mitchell
ec029ebe70 Types are implemented fully, but the interface is only constructors and the 'str' function.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@163 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-28 23:30:08 +00:00
Dustin Mitchell
2f8d8b22d5 Skeleton of the new types system is in place and compiles
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@158 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-28 07:21:38 +00:00
Dustin Mitchell
5a5b502eb9 Beginnings of an implementation of a type object
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@156 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-27 23:47:40 +00:00
Dustin Mitchell
553a6dc4ae Added a typemap
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@153 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-25 00:31:15 +00:00
Dustin Mitchell
ba6fc06027 Slight improvements
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@152 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-25 00:26:53 +00:00
Dustin Mitchell
85eb09b231 Even more progress on the DOH Python type
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@151 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-25 00:20:28 +00:00
Dustin Mitchell
6579b9ee31 A few last-minute changes to the previous commit :)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@149 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-24 22:49:47 +00:00
Dustin Mitchell
d2c40e1b17 Big changes. The makefiles now recurse correctly, and targets (e.g.
experiment, swim, swig, pymod, etc.) are passed along to sub-makes
correctly.  Also, a mechanism has been devised to avoid the use of *.o
in the toplevel Makefile, as it was linking files which were not intended
for use in the final executable.


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@148 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-24 22:43:13 +00:00
Dustin Mitchell
37b5cc943e More work on the Python interface
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@146 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-24 05:31:51 +00:00
Dustin Mitchell
fd4b3e7457 Added lots to the interface file
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@143 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-22 23:53:07 +00:00
Dustin Mitchell
111e768090 *** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-21 23:48:09 +00:00
Dustin Mitchell
10cf084806 Superstrings are DONE
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@139 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2000-01-21 22:36:43 +00:00