/[ascend]/branches/relerrorlist/ascend/compiler/ascParse.y
ViewVC logotype

Log of /branches/relerrorlist/ascend/compiler/ascParse.y

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 3260)

Revision 3217 - (view) (download) (annotate) - [select for diffs]
Modified Sat Oct 28 07:01:00 2017 UTC (12 months, 3 weeks ago) by jpye
File length: 72511 byte(s)
Diff to previous 3211
fixing va_copy errors and snprintf warnings from gcc 7.2.0


Revision 3211 - (view) (download) (annotate) - [select for diffs]
Modified Fri Sep 15 03:34:28 2017 UTC (14 months ago) by jpye
File length: 72472 byte(s)
Diff to previous 3210
fixed error with va_copy required in va_error_reporter.


Revision 3210 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 14 13:27:20 2017 UTC (14 months ago) by jpye
File length: 72194 byte(s)
Diff to previous 3186
changed to va_list pointers, based on
https://stackoverflow.com/questions/3369588/pass-va-list-or-pointer-to-va-list


Revision 3186 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 2 13:37:54 2017 UTC (19 months, 2 weeks ago) by jpye
File length: 72008 byte(s)
Diff to previous 2648
creating branch for improving compiler errors


Revision 2648 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 12 06:04:23 2012 UTC (5 years, 11 months ago) by jpye
Original Path: trunk/ascend/compiler/ascParse.y
File length: 72008 byte(s)
Diff to previous 2559
Fixing GPL header, removing postal address (rpmlint incorrect-fsf-address)

Revision 2559 - (view) (download) (annotate) - [select for diffs]
Modified Fri Feb 3 19:05:59 2012 UTC (6 years, 9 months ago) by jpye
Original Path: trunk/ascend/compiler/ascParse.y
File length: 72081 byte(s)
Diff to previous 2353
Merge from Ksenija's branch rev 3919 to trunk. This includes changes from Dante Stroe and Leon Kwek, including:
Adds support for LINK syntax/semants (but test cases stil need to be written). (Dante Stroe)
Adds support for integration of models containing boundaries. More testing required. (Leon Kwek)
Test suite solver_lrslv added with very basic test of LRSlv. (Leon Kwek)
Fixed error in merge that had messed up SOLVER, SOLVE, OPTION statements.
Support added in LRSlv for taking boundary states from the 'perturb' var, rather than evaluating directly (Leon)
Integrated fix-and-assign statement support added (fixes bug 450) (Ksenija)
Bouncing ball test model included (Leon).


Revision 2353 - (view) (download) (annotate) - [select for diffs]
Modified Sat Jan 8 11:21:09 2011 UTC (7 years, 10 months ago) by jpye
Original Path: trunk/ascend/compiler/ascParse.y
File length: 70313 byte(s)
Diff to previous 2322
fixed bug in destruction of importhandler_library. More work still to be done there.
Improved parser message for failed IMPORT.

Revision 2322 - (view) (download) (annotate) - [select for diffs]
Modified Wed Dec 15 06:12:36 2010 UTC (7 years, 11 months ago) by jpye
Original Path: trunk/ascend/compiler/ascParse.y
File length: 70164 byte(s)
Diff to previous 2183
Refactoring ascMalloc.h, mem.h to belong in 'general' with goal of having no references in 'general' to functions in 'utilities'.

Revision 2183 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 4 13:38:42 2010 UTC (8 years, 6 months ago) by jpye
Original Path: trunk/ascend/compiler/ascParse.y
File length: 70166 byte(s)
Diff to previous 2071
Merging slvreq functionality into trunk.

Revision 2071 - (view) (download) (annotate) - [select for diffs]
Modified Fri Aug 28 02:42:47 2009 UTC (9 years, 2 months ago) by jose
Original Path: trunk/ascend/compiler/ascParse.y
File length: 70394 byte(s)
Diff to previous 2060
MERGE Jose's branch [2274]:[2584] into trunk

Revision 2060 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 26 00:37:32 2009 UTC (9 years, 4 months ago) by jpye
Original Path: trunk/ascend/compiler/ascParse.y
File length: 69960 byte(s)
Diff to previous 2018
Fix 'syntax error at end of output' message.

Revision 2018 - (view) (download) (annotate) - [select for diffs]
Modified Wed Apr 29 03:38:10 2009 UTC (9 years, 6 months ago) by jpye
Original Path: trunk/ascend/compiler/ascParse.y
File length: 69957 byte(s)
Diff to previous 2011
Fixed compile for new header file locations <ascend/compiler/xxx.h> etc.

Revision 2011 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 28 08:58:48 2009 UTC (9 years, 6 months ago) by jpye
Original Path: trunk/ascend/compiler/ascParse.y
File length: 69649 byte(s)
Copied from: trunk/base/generic/compiler/ascParse.y revision 2010
Diff to previous 1519
Moving libascend components from #/base/generic into #/ascend

Revision 1519 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 28 15:04:00 2007 UTC (11 years, 4 months ago) by jpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 69649 byte(s)
Diff to previous 1169
Adding support for ASCENDSOLVERS env var, for defining location of the ASCEND solvers.
By default this will be /usr/share/ascend/solvers.

Revision 1169 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jan 17 12:17:25 2007 UTC (11 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 69661 byte(s)
Diff to previous 931
Fixed EXTERNAL do_solve(instance)
Improved error message in ascParse.
Added collapsingcan2 model that uses freesteam steam properties.

Revision 931 - (view) (download) (annotate) - [select for diffs]
Modified Thu Nov 23 04:31:19 2006 UTC (12 years ago) by johnpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 69600 byte(s)
Diff to previous 898
Added 'error_reporter_tree' that can organise error messages/output into a structured hierarchy.

Revision 898 - (view) (download) (annotate) - [select for diffs]
Modified Tue Oct 24 13:34:13 2006 UTC (12 years ago) by johnpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 69937 byte(s)
Diff to previous 741
Added 'solver notes' to thermalequilibrium.a4c.
Added 'setup_solver' method in listnotes.py
Added 'getLanguage' to Annotation class
Added 'paramname' to SolverParameters popup in PyGTK
Fixed up some commenting in notate.c
Turned on warning about ignored notes in ascParse.y

Revision 741 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jul 6 08:54:42 2006 UTC (12 years, 4 months ago) by johnpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 69842 byte(s)
Diff to previous 712
Fixes for MSVC++

Revision 712 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jun 30 05:18:56 2006 UTC (12 years, 4 months ago) by johnpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 69736 byte(s)
Diff to previous 704
Implemented 'instance_getname' that should return a stringified
version of an enum inst_t (Instance::t).
Some other small -Wall fixes.

Revision 704 - (view) (download) (annotate) - [select for diffs]
Modified Mon Jun 26 23:00:56 2006 UTC (12 years, 4 months ago) by ben.allan
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 69732 byte(s)
Diff to previous 689
- fixed a minor bug in the use of dimensions in samplelist
and a #define misuse in ospath.
- defined eolstyle unix on the trunk, as I have encountered
at least 4 too many mixed-eol-style-in-one-file files in trying to 
rebuild today. obviously committer discipline is insufficient.


Revision 689 - (view) (download) (annotate) - [select for diffs]
Modified Thu Jun 22 00:19:54 2006 UTC (12 years, 5 months ago) by johnpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 69733 byte(s)
Diff to previous 669
Added suppression of 'unexpected char' (scanner) and 'generic' (parser) errors.
Removed 'DIFF' stuff from parser and scanner. (It's still in expr_types.h and elsewhere)
Added test case to detect this scanner problem.

Revision 669 - (view) (download) (annotate) - [select for diffs]
Modified Wed Jun 21 07:00:45 2006 UTC (12 years, 5 months ago) by johnpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 69706 byte(s)
Diff to previous 648
Merged changes from DAE branch (revisions 702 to 819) back into trunk.
This adds the Integration API to the ASCEND solver (in base/generic).
Also provides pre-alpha support for 'IDA' from the SUNDIALS suite, a DAE solver.
Many other minor code clean-ups, including adoption of new 'ASC_NEW' and friends (to replace 'ascmalloc')
Added some very sketchy stuff providing 'DIFF(...)' syntax, although it is anticipated that this will be removed.

Revision 648 - (view) (download) (annotate) - [select for diffs]
Modified Tue May 30 01:33:37 2006 UTC (12 years, 5 months ago) by johnpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 69515 byte(s)
Diff to previous 534
Changing all token from *_T to *_TOK. This is to prevent a clash with MSVC which defines 'SIZE_T'
in one if its Windows headers. 

Revision 534 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 25 13:25:04 2006 UTC (12 years, 6 months ago) by johnpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 68641 byte(s)
Diff to previous 506
Working on platform-independent pathnames for the IMPORT command.
Added 'ospath.c' to base/generic/general for this purpose.
Patched kvalues and sensitivity to use the 'IMPORT "libname";' syntax
instead of 'IMPORT registerfn FROM libname;'.
Fixed pathnames in create.nsi.
Added GPL header to coupla files.
Added quoting to 'IMPORT' syntax in ascParse.y.
Removed 'PackageOption' from Tcl/Tk related Scons options so that missing Tcl/Tk
doesn't cause breakage.

Revision 506 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 18 14:30:39 2006 UTC (12 years, 7 months ago) by johnpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 68644 byte(s)
Diff to previous 485
The Visual C++ 2005 version now builds without linker errors.
But I ran the installer and it crashed during the first C++ call, so still problems.

Revision 485 - (view) (download) (annotate) - [select for diffs]
Modified Tue Apr 18 04:47:11 2006 UTC (12 years, 7 months ago) by johnpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 68746 byte(s)
Diff to previous 483
Huge cleanup of file header comments (GPL notice etc).

Changed from ASC_DLLSPEC to ASC_DLLSPEC(TYPE) -- like python

Fixed up some badly export symbols (missing 'extern')

Fixed exporting of symbols from error.h

Removed ASC_DLLSPEC from .c files-- only in .h files now (hope that's right...)

Changed the way bintoken does its exporting, to take 
advantage of ASC_BUILDING_LIBASCEND (needs testing)

I wonder if the 'extern' keywork should be a part of the ASC_DLLSPEC macro?


Revision 483 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 17 18:20:20 2006 UTC (12 years, 7 months ago) by ben.allan
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 68746 byte(s)
Diff to previous 480
Rolled back the removal of #include "compiler/*"
from ascParse.y. This broke the vpath build
support for flex/yacc unnecessarily. The
generated c,h files do not live in the source
tree and so the unqualified include file names
are not appropriate.


Revision 480 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 17 10:45:23 2006 UTC (12 years, 7 months ago) by johnpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 68395 byte(s)
Diff to previous 478
Adding ASC_DLLSPEC to all functions that are being used by Python interface.
Also cleaned up some #ifdef header brackets and html-style comments inside doxygen comments.
Renamed pygtk/interface/config.in to pygtk/interface/config.h.in and made 
this active again (for ASC_BUILDING_INTERFACE) use.
Trying to catch error in ascpy.Library call with try/except, doesn't work though.

Revision 478 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 17 08:10:48 2006 UTC (12 years, 7 months ago) by johnpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 68716 byte(s)
Diff to previous 467
Fixing build for SWIG 1.3.24 (no -O flag)
Adding more debug info to loading output in PyGTK interface/config.py.in
Adding SWIGVERSION flag to SCons env.
Commenting in ascDynaLoad.c and ascParse.y
Adding VERSION to config.py

Revision 467 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 17 03:18:06 2006 UTC (12 years, 7 months ago) by ben.allan
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 68872 byte(s)
Diff to previous 421
Changed the syntax of import from
IMPORT id FROM id;
to
IMPORT id FROM "quoted/text/lib";
Writing external
METHOD calls via the EXTERNAL methname(arglist);
now works.

Against my better judgement in a few cases,
cleaned up the old EXT statement code from Abbott
to work in a typesafe manner. A better solution
is to get the CALL syntax working as defined in 
the grammar, but this takes a good deal more work
and meanwhile people want to get their phds...

Still some known bugs in relation_util.
I need to commit the test models that go with
the EXT statements. Fixed a bunch of lintish
compiler complaints. Don't try to solve external
models yet.


Revision 421 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 3 17:26:22 2006 UTC (12 years, 7 months ago) by ben.allan
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 68716 byte(s)
Diff to previous 412
updated kvalues example to parse and put in model library.
changed import library name to dquote text for more generality.
fixed many, but not all problems in kvalues.c

Revision 412 - (view) (download) (annotate) - [select for diffs]
Modified Mon Apr 3 03:31:30 2006 UTC (12 years, 7 months ago) by johnpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 68725 byte(s)
Diff to previous 411
Trying to fix problems with the parser 'yy' and 'zz' stuff so that it works with SCons and hopefuly autotools at same time.

Revision 411 - (view) (download) (annotate) - [select for diffs]
Modified Sun Apr 2 07:05:54 2006 UTC (12 years, 7 months ago) by ben.allan
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 68724 byte(s)
Diff to previous 380
Restored autotools to working, parsers to typ_ and zz_,
Fixed many missing initializations, many casting insanities
that have been creeping in, many missing forward declarations
in preparation for fixing external relations.


Revision 380 - (view) (download) (annotate) - [select for diffs]
Modified Sat Mar 18 07:29:48 2006 UTC (12 years, 8 months ago) by johnpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 68651 byte(s)
Diff to previous 332
Fixed up dynamic loading so that external libraries can be used on Windows -- no unresolved symbols in the DLL.

Revision 332 - (view) (download) (annotate) - [select for diffs]
Modified Tue Feb 28 04:39:00 2006 UTC (12 years, 8 months ago) by johnpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 68636 byte(s)
Diff to previous 304
These changes fix compilation 'make libs' on MinGW.

I have changed the configure.in to allow '--without-tcl'
however this will likely break linux compiles. I'll commit this
on windows, then try to check out and fix on a linux machine.

Revision 304 - (view) (download) (annotate) - [select for diffs]
Modified Wed Feb 22 03:05:37 2006 UTC (12 years, 9 months ago) by johnpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 68635 byte(s)
Diff to previous 222
Some rationalising of duplicated code in statement.c.
Fixed bug #206 (support for FREE statement).

Revision 222 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 27 04:23:20 2006 UTC (12 years, 9 months ago) by johnpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 68526 byte(s)
Diff to previous 194
Updating for Jerry's new error_reporter syntax, bug #179

Revision 194 - (view) (download) (annotate) - [select for diffs]
Modified Tue Jan 17 05:48:00 2006 UTC (12 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 68511 byte(s)
Diff to previous 183
Documentation and CONSOLE_DEBUGging.

Revision 183 - (view) (download) (annotate) - [select for diffs]
Modified Fri Jan 13 02:35:00 2006 UTC (12 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 68537 byte(s)
Diff to previous 148
Added 'FIX varlist' statement to ASCEND.

Revision 148 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 22 08:49:39 2005 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 68434 byte(s)
Diff to previous 124
Changed from 'TEST expr' syntax to 'ASSERT expr' syntax.
Corrected ConfigAscend ability to compile with CMSlv solver.

Revision 124 - (view) (download) (annotate) - [select for diffs]
Modified Tue Dec 20 08:32:25 2005 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 68418 byte(s)
Diff to previous 62
Adding 'TEST' statement to ASCEND METHOD syntax.
Standardising messages in slv3.
Trying to debug bug #175.

Revision 62 - (view) (download) (annotate) - [select for diffs]
Modified Wed Nov 30 05:53:20 2005 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 68284 byte(s)
Diff to previous 11
My first commit:
Added 'error_reporter' for standardised error reporting
Working on getting external functions running again
Also: issue 130, issue 68, issue 131, issue 89, issue 127, issue 138, issue 94.

Revision 11 - (view) (download) (annotate) - [select for diffs]
Modified Sat Nov 13 16:45:56 2004 UTC (14 years ago) by aw0a
Original Path: trunk/base/generic/compiler/ascParse.y
File length: 70177 byte(s)
Copied from: trunk/ascend4/compiler/ascParse.y revision 10
Diff to previous 1
moving things to base/generic

Revision 1 - (view) (download) (annotate) - [select for diffs]
Added Fri Oct 29 20:54:12 2004 UTC (14 years ago) by aw0a
Original Path: trunk/ascend4/compiler/ascParse.y
File length: 70177 byte(s)
Setting up web subdirectory in repository

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22