/[ascend]/trunk/ascend/compiler/statement.c
ViewVC logotype

Log of /trunk/ascend/compiler/statement.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 2781 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 20 05:12:07 2014 UTC (4 years, 4 months ago) by jpye
File length: 68215 byte(s)
Diff to previous 2649
remove RCS comments per warnings from clang 3.4

Revision 2649 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 12 12:39:25 2012 UTC (5 years, 10 months ago) by jpye
File length: 68330 byte(s)
Diff to previous 2586
Fixing GPL header, removing postal address (rpmlint incorrect-fsf-address)

Revision 2586 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 10 19:52:53 2012 UTC (6 years, 6 months ago) by jpye
File length: 68421 byte(s)
Diff to previous 2559
Fixes bug 537.

Revision 2559 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 3 19:05:59 2012 UTC (6 years, 8 months ago) by jpye
File length: 68349 byte(s)
Diff to previous 2397
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 2397 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 28 12:18:48 2011 UTC (7 years, 7 months ago) by jpye
File length: 65109 byte(s)
Diff to previous 2323
Add test of failing FIX statements for bug #488.
Commented out unmigrated makemps code (need to migrate to new slv_param_* functions).

Revision 2323 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 15 06:35:43 2010 UTC (7 years, 10 months ago) by jpye
File length: 65061 byte(s)
Diff to previous 2322
Refactor some more stuff from 'utilities' into 'general' with goal that 'general' never refers to 'utilities'.

Revision 2322 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 15 06:12:36 2010 UTC (7 years, 10 months ago) by jpye
File length: 65069 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) (as text) (annotate) - [select for diffs]
Modified Tue May 4 13:38:42 2010 UTC (8 years, 5 months ago) by jpye
File length: 65071 byte(s)
Diff to previous 2071
Merging slvreq functionality into trunk.

Revision 2071 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 28 02:42:47 2009 UTC (9 years, 1 month ago) by jose
File length: 63711 byte(s)
Diff to previous 2018
MERGE Jose's branch [2274]:[2584] into trunk

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

Revision 2011 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 28 08:58:48 2009 UTC (9 years, 5 months ago) by jpye
File length: 63439 byte(s)
Copied from: trunk/base/generic/compiler/statement.c revision 2010
Diff to previous 1684
Moving libascend components from #/base/generic into #/ascend

Revision 1684 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 20 22:30:30 2007 UTC (10 years, 10 months ago) by jpye
Original Path: trunk/base/generic/compiler/statement.c
File length: 63439 byte(s)
Diff to previous 1359
Added test cases to instantiate models using the compiler, and test for resulting child instances etc.
Changed most 'AddSymbolL' to 'AddSymbol' (to reduce use of magic #s).
Cleaned up a few #include lists.
Renamed 'Asc_DeAllocSim' to 'sim_destroy'.
Removed some CVS 'lint'.
Removed 'SimsProc' commenting from 'simlist.c'.
Added some missing #includes in .h files (FWIW).
Removed the 'STATIC_xxx' headers from base/generic/solver/SConscript.

Revision 1359 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 27 00:32:07 2007 UTC (11 years, 7 months ago) by jpye
Original Path: trunk/base/generic/compiler/statement.c
File length: 63467 byte(s)
Diff to previous 1211
Removed various debug output

Revision 1211 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 05:09:50 2007 UTC (11 years, 9 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statement.c
File length: 63461 byte(s)
Diff to previous 1210
Fixed dependencies on dimen.h and fractions.h.

Revision 1210 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 04:25:51 2007 UTC (11 years, 9 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statement.c
File length: 63501 byte(s)
Diff to previous 1064
Removed unnecessary #include <compiler.h>

Revision 1064 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 7 09:15:56 2007 UTC (11 years, 9 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statement.c
File length: 63522 byte(s)
Diff to previous 1031
Replaced all Asc_Panic calls with ASC_PANIC, which includes __FUNCTION__, __FILE__, __LINE__ reporting.

Revision 1031 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 15:33:23 2007 UTC (11 years, 9 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statement.c
File length: 63540 byte(s)
Diff to previous 908
Merging Ben's changes from trunk, changeset 1105 to changeset 1234.
This breaks Python test suite TestExtFn, so will need investigation.

Revision 908 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 26 10:18:53 2006 UTC (12 years ago) by johnpye
Original Path: trunk/base/generic/compiler/statement.c
File length: 63534 byte(s)
Diff to previous 732
first attempt at merging with Ben's changes on the trunk

Revision 732 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 4 14:40:17 2006 UTC (12 years, 3 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statement.c
File length: 63043 byte(s)
Diff to previous 731
Added general-purpose text-information dialog to PyGTK interface.
Added reporting of clique of a variable to PyGTK GUI.
Changed 'fixable' and 'new bounds' to use the new dialog.
Removed 'set<...>' from ascpy.i (it wasn't working), changed to vector<...>.
Exported a couple of var incidences fns to the DLL/SO.

Revision 731 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 4 07:42:06 2006 UTC (12 years, 3 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statement.c
File length: 63031 byte(s)
Diff to previous 709
Removed some debug messages.
Fixed up return values for Integrators functions to comply with integrator.c API.

Revision 709 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 28 16:28:57 2006 UTC (12 years, 3 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statement.c
File length: 63025 byte(s)
Diff to previous 708
Monster commit!
Lots of recommenting and reorganising of external relations-related stuff.
Replaced a lot of ascmalloc and asccalloc calls with the new ASC_NEW* macros.
Fixed (?) the problem Art is having with icons in PyGTK.
Turned on -Wall in SConstruct and fixed up a stack of warnings.
Removed the redundant exit(2) from after Asc_Panic calls and added __attribute__((noreturn)).
Set doxygen to create callgraphs to level 2, updated doxyfile to version 1.4.7.
Fixed up building of extfntest.c.

Revision 708 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 27 07:34:31 2006 UTC (12 years, 3 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statement.c
File length: 63110 byte(s)
Diff to previous 669
Replaced some references to ascmalloc with ASC_NEW_ARRAY

Revision 669 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 21 07:00:45 2006 UTC (12 years, 4 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statement.c
File length: 63109 byte(s)
Diff to previous 467
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 467 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 17 03:18:06 2006 UTC (12 years, 6 months ago) by ben.allan
Original Path: trunk/base/generic/compiler/statement.c
File length: 63104 byte(s)
Diff to previous 425
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 425 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 4 01:05:09 2006 UTC (12 years, 6 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statement.c
File length: 59189 byte(s)
Diff to previous 423
Fixed bug #252

Revision 423 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 3 23:15:49 2006 UTC (12 years, 6 months ago) by ben.allan
Original Path: trunk/base/generic/compiler/statement.c
File length: 59100 byte(s)
Diff to previous 399
Fixed instatiation of blackbox (and probably glassbox)
relations, for poorly tested definitions of 'fix'.
Blackbox evaluation is still broken.

There seems to be some chaos around win32_lean_and_mean
in ascConfig.h

updated reconfig. setenv TKROOT /where/is/tk8.3dir before 
running and all is good.

Revision 399 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 31 08:52:57 2006 UTC (12 years, 6 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statement.c
File length: 59008 byte(s)
Diff to previous 306
Normalised all #include statements so that files in the current directory
are included as "localfile.h" and files in other directories are included as
<directory/file.h>
This is in accordance with the spec at
http://gcc.gnu.org/onlinedocs/gcc-4.1.0/cpp/Include-Syntax.html#Include-Syntax

Revision 306 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 22 03:30:18 2006 UTC (12 years, 8 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statement.c
File length: 59233 byte(s)
Diff to previous 304
Fixing indenting
Fixed bug #207 (missing 'case' statements for FIX)

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

Revision 301 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 20 07:39:14 2006 UTC (12 years, 8 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statement.c
File length: 62185 byte(s)
Diff to previous 203
Documentation and indentation changes

Revision 203 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 23 04:13:17 2006 UTC (12 years, 9 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statement.c
File length: 62117 byte(s)
Diff to previous 190
Documentation changes; making 'FIX' statement less verbose;
Commenting out ununsed 'CreateExternalFunction' function

Revision 190 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 16 08:53:30 2006 UTC (12 years, 9 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statement.c
File length: 62111 byte(s)
Diff to previous 183
- Simplifying many 'error_reporter' calls with new macros:
    ERROR_REPORTER_NOLINE and ERROR_REPORTER_HERE
- Adding some cygwin cases in the PyGTK build.

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

Revision 148 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 22 08:49:39 2005 UTC (12 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statement.c
File length: 61620 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) (as text) (annotate) - [select for diffs]
Modified Tue Dec 20 08:32:25 2005 UTC (12 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statement.c
File length: 61580 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) (as text) (annotate) - [select for diffs]
Modified Wed Nov 30 05:53:20 2005 UTC (12 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statement.c
File length: 60697 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) (as text) (annotate) - [select for diffs]
Modified Sat Nov 13 16:45:56 2004 UTC (13 years, 11 months ago) by aw0a
Original Path: trunk/base/generic/compiler/statement.c
File length: 60598 byte(s)
Copied from: trunk/ascend4/compiler/statement.c revision 10
Diff to previous 1
moving things to base/generic

Revision 1 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Oct 29 20:54:12 2004 UTC (13 years, 11 months ago) by aw0a
Original Path: trunk/ascend4/compiler/statement.c
File length: 60598 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