CellML Discussion List

Text archives Help


[cellml-discussion] Questions about the CCGS, and 3 possible bugs


Chronological Thread 
  • From: ak.miller at auckland.ac.nz (Andrew Miller)
  • Subject: [cellml-discussion] Questions about the CCGS, and 3 possible bugs
  • Date: Thu, 26 Oct 2006 09:19:30 +1300

Jonathan Cooper wrote:
> Many thanks for your swift and thorough response.
>
> * Andrew Miller <ak.miller at auckland.ac.nz> [2006-10-24 22:51]:
>
>> Jonathan Cooper wrote:
>>
>>> Hi Andrew,
>>>
>>> You may be aware that a group of people are writing a review article
>>> on CellML and associated tools, for a special issue of Progress in
>>> Biophysics and Molecular Biology. I've been put in charge of the
>>> section on code generators, so have been looking at the CCGS to see
>>> what I can write about it.
>>>
>
> [snip]
>
>
>>> My thinking for the structure of the code generation section is to
>>> start with some motivation - interpreting XML is slow, and people want
>>> to plug models into their existing simulation software.
>>>
>> You should probably also mention that CellML is a declarative language,
>> not a procedural one (I think this is often misunderstood by people new
>> to CellML), and so it states what the relationships between the
>> variables are, rather than a direct process for computing variables.
>> Whether or not you are interpreting XML, generating 'source' code of
>> some form, or directly generating machine code, at some point you need
>> to translate from a declarative view into a procedural view, and this is
>> the key role that these frameworks play.
>>
>
> I agree that the declarative nature of CellML is a key point to note, and
> I'll make sure it's mentioned in the paper. You only need to translate
> to a procedural viewpoint, however, because all existing simulation
> software is written in procedural languages. It's pretty easy to
> translate CellML into Haskell or Scheme :)
>
Of course, eventually, Haskell or Scheme will work out the declarative
sequence, so you are just moving the responsibility of who does this.
>
>> PS: Do you mind if I also send this to the CellML Discussion list, as my
>> answers are likely useful to other people as well.
>>
>
> Not at all; I think it would be good for this information to be more
> widely available.
>
> Jonathan.
>
>





Archive powered by MHonArc 2.6.18.

Top of page