Could YAML replace dADL as human readable AOM serialization format?

2011-12-15 Thread Erik Sundvall
Hi! On Thu, Dec 15, 2011 at 12:44, Thomas Beale wrote: >> I have to say, the more I look at YAML, the more I wonder what the >> designers were thinking. For example, in this section of the spec, > http://yaml.org/spec/current.html#id2532720 >> multi-line quoted strings are only allowed if the 'ke

Could YAML replace dADL as human readable AOM serialization format?

2011-12-15 Thread Thomas Beale
On 15/12/2011 12:51, Erik Sundvall wrote: > Hi! > > > Are you sure that is what it says? > > "Double quoted scalars are restricted to a single line when contained > inside a simple key." well I read this to say: * if you double quote a long String containing line breaks (if you don't yet g

Could YAML replace dADL as human readable AOM serialization format?

2011-12-15 Thread Thomas Beale
On 15/12/2011 11:31, Thomas Beale wrote: > I have to say, the more I look at YAML, the more I wonder what the > designers were thinking. For example, in this section of the spec, http://yaml.org/spec/current.html#id2532720 > multi-line quoted strings are only allowed if the 'key' is also quoted >

Could YAML replace dADL as human readable AOM serialization format?

2011-12-15 Thread Thomas Beale
I have to say, the more I look at YAML, the more I wonder what the designers were thinking. For example, in this section of the spec, multi-line quoted strings are only allowed if the 'key' is also quoted (the strange looking JSON approach); if the key is not quoted (i.e. 'simple') then the va

Could YAML replace dADL as human readable AOM serialization format?

2011-12-08 Thread Diego Boscá
-bounces at openehr.org] On Behalf Of Erik Sundvall > Sent: Wednesday, 7 December 2011 11:30 p.m. > > > To: For openEHR technical discussions > Subject: Re: Could YAML replace dADL as human readable AOM serialization > format? > > > > Oh sigh... > > > > Tr

Could YAML replace dADL as human readable AOM serialization format?

2011-12-08 Thread Peter Gummer
On 08/12/2011, at 6:23, Thomas Beale wrote: > out of academic interest: was either YAML or JSON around in 2000, when I made > a first version of dADL (I'm in a plane typing this, can't check)? If they > were, I look silly ;-) If not... According to http://en.wikipedia.org/wiki/JSON ... "JSON wa

Could YAML replace dADL as human readable AOM serialization format?

2011-12-08 Thread Koray Atalag
11:30 p.m. To: For openEHR technical discussions Subject: Re: Could YAML replace dADL as human readable AOM serialization format? Oh sigh... Trying to be open minded, thinking a few steps ahead, sharing thoughts and regularly reevaluating design decisions does not seem to be appreciated by al

Could YAML replace dADL as human readable AOM serialization format?

2011-12-07 Thread Peter Gummer
On 07/12/2011, at 22:54, Seref Arikan wrote: > Your comments about dADL below, as well as your original motivations is > hinting at what I'm opposing to. Your own words: > "Having an archetype specific object-serialization language like dADL might > make "archetyping" look more mysterious and s

Could YAML replace dADL as human readable AOM serialization format?

2011-12-07 Thread Thomas Beale
all, one of the good decisions I think we made early on in openEHR's history was to have few mailing lists rather than many. One of the consequences is that discussions about new / fun ideas are on the same list and sometimes same thread as discussions about real world implementation prioriti

Could YAML replace dADL as human readable AOM serialization format?

2011-12-07 Thread Thomas Beale
On 07/12/2011 11:29, Erik Sundvall wrote: > > Good old which ADL? Please go back in the thread and note the > difference between dADL and cADL in the reasoning, dADL is a > reinvention of the wheel (object tree serialization) Erik, out of academic interest: was either YAML or JSON around in 2000

Could YAML replace dADL as human readable AOM serialization format?

2011-12-07 Thread Thomas Beale
On 06/12/2011 12:44, Seref Arikan wrote: > A bunch of responses, most of which should actually go to a wiki page > for Bosphorus > > I've used binary serialization for AOM because although Eiffel is a > very impressive language, I am not happy about its libraries. Some of > them are mature, but

Could YAML replace dADL as human readable AOM serialization format?

2011-12-07 Thread Thomas Beale
On 05/12/2011 12:36, Erik Sundvall wrote: > Hi! > > On Mon, Dec 5, 2011 at 00:10, Heath Frankel > > wrote: > > I think previously I had indicated I had no problem with the > stringified interval approach in XML, but I am reverting my > thi

Could YAML replace dADL as human readable AOM serialization format?

2011-12-07 Thread Seref Arikan
Thanks Peter, In that case the suggestion I'm objecting to does not exist. Though I have to confess I don't seem to clearly understand the suggestion here, better re-read the thread with more coffee at hand. Best regards Seref On Wed, Dec 7, 2011 at 12:35 PM, Peter Gummer < peter.gummer at ocean

Could YAML replace dADL as human readable AOM serialization format?

2011-12-07 Thread Diego Boscá
I have no problems on having different representations. In fact, having different representations means more happy people, not less (for example, people has been using RDF to describe archetypes for some time). Anyway I love this kind of threads, as are great to see new perspectives and technologie

Could YAML replace dADL as human readable AOM serialization format?

2011-12-07 Thread Seref Arikan
Erik, Add my sigh next to yours... Lots of misunderstandings, will try to respond to most obvious ones. I have clearly expressed that all discussions here are useful. I've made no connection to my agenda. My academic work does not even require the things I've mentioned as high priority for openEHR

Could YAML replace dADL as human readable AOM serialization format?

2011-12-07 Thread Erik Sundvall
Oh sigh... Trying to be open minded, thinking a few steps ahead, sharing thoughts and regularly reevaluating design decisions does not seem to be appreciated by all on this list. Perhaps we need to mark some discussions or sections with... [Warning: may contain new thoughts] ...so that those of u

Could YAML replace dADL as human readable AOM serialization format?

2011-12-06 Thread Koray Atalag
-technical-boun...@openehr.org] On Behalf Of Stef Verlinden Sent: Wednesday, 7 December 2011 1:01 a.m. To: For openEHR technical discussions Subject: Re: Could YAML replace dADL as human readable AOM serialization format? +1 Cheers, Stef Op 6 dec. 2011, om 12:44 heeft Seref Arikan het volgende geschreve

Could YAML replace dADL as human readable AOM serialization format?

2011-12-06 Thread Stef Verlinden
+1 Cheers, Stef Op 6 dec. 2011, om 12:44 heeft Seref Arikan het volgende geschreven: > > Please do not get me wrong, all the discussion we are having here is useful, > it is just that in my humble opinion, some discussions are more useful than > others if this standard into which I am heavi

Could YAML replace dADL as human readable AOM serialization format?

2011-12-06 Thread Seref Arikan
A bunch of responses, most of which should actually go to a wiki page for Bosphorus I've used binary serialization for AOM because although Eiffel is a very impressive language, I am not happy about its libraries. Some of them are mature, but for XML, I could not find anything that'd be guaranteed

Could YAML replace dADL as human readable AOM serialization format?

2011-12-05 Thread Erik Sundvall
Hi Seref! On Mon, Dec 5, 2011 at 13:32, Seref Arikan < serefarikan at kurumsalteknoloji.com> wrote: > > I'll repeat a point I've tried to make before, since it is relevant in the > context of binary serialization. > I've used protocol buffers serialization of AOM in Bosphorus Why do you use bina

Could YAML replace dADL as human readable AOM serialization format?

2011-12-05 Thread Erik Sundvall
Hi! On Mon, Dec 5, 2011 at 00:10, Heath Frankel < heath.frankel at oceaninformatics.com> wrote: > I think previously I had indicated I had no problem with the stringified > interval approach in XML, but I am reverting my thinking on this and feel > that it would be counter intuitive for those who

Could YAML replace dADL as human readable AOM serialization format?

2011-12-05 Thread Seref Arikan
Hi Erik, I'll repeat a point I've tried to make before, since it is relevant in the context of binary serialization. I've used protocol buffers serialization of AOM in Bosphorus (I'll put the source code under Opereffa's svn soon, it appears I don't even have time to clean it up) These are very fa

Could YAML replace dADL as human readable AOM serialization format?

2011-12-05 Thread Heath Frankel
I think previously I had indicated I had no problem with the stringified interval approach in XML, but I am reverting my thinking on this and feel that it would be counter intuitive for those who what to use the XML schemas for code generation purposes. I think in this case the computable requirem

Could YAML replace dADL as human readable AOM serialization format?

2011-12-05 Thread Sam Heard
' Subject: RE: Could YAML replace dADL as human readable AOM serialization format? I think previously I had indicated I had no problem with the stringified interval approach in XML, but I am reverting my thinking on this and feel that it would be counter intuitive for those who what to use

Could YAML replace dADL as human readable AOM serialization format?

2011-12-05 Thread Thomas Beale
On 05/12/2011 00:23, Sam Heard wrote: > > Hi All > > I am going to say it once more: > > If there is an expression on occurrences of '0..*' anywhere in ADL > then it is an error, for that is not a constraint -- and can only be > wrong (ie the RM may have a narrower constraint). We just need a max

Could YAML replace dADL as human readable AOM serialization format?

2011-12-05 Thread Diego Boscá
day, 5 December 2011 8:40 AM > > > To: 'For openEHR technical discussions' > Subject: RE: Could YAML replace dADL as human readable AOM serialization > format? > > > > I think previously I had indicated I had no problem with the stringified > interval approac

Could YAML replace dADL as human readable AOM serialization format?

2011-12-02 Thread Thomas Beale
On 02/12/2011 01:35, Heath Frankel wrote: > > Thanks Erik, > > Interesting to see the line up. Can't believe that XML wasn't the > longest file in the list, that kills one of the arguments for JSON vs XML. > > For someone that is not aware of YAML, are the white space > significant. If so, this

Could YAML replace dADL as human readable AOM serialization format?

2011-12-02 Thread Erik Sundvall
Hi! On Fri, Dec 2, 2011 at 10:36, Roger Erens wrote: > On Thu, Dec 1, 2011 at 22:37, Erik Sundvall wrote: > > http://www.imt.liu.se/~erisu/2011/AOM-beauty-contest.html > > is the Javascript Object Dump missing regexps for 'address' and > 'electronic_communications'? Or is that irrelevant? Tha

Could YAML replace dADL as human readable AOM serialization format?

2011-12-02 Thread Heath Frankel
ubject: Re: Could YAML replace dADL as human readable AOM serialization format? Hi! Let the battle begin :-) see: http://www.imt.liu.se/~erisu/2011/AOM-beauty-contest.html On Tue, Nov 22, 2011 at 13:24, Thomas Beale wrote: actually, ADL 2.0 as reported in this document is now obsolete. T

Could YAML replace dADL as human readable AOM serialization format?

2011-12-02 Thread Roger Erens
On Thu, Dec 1, 2011 at 22:37, Erik Sundvall wrote: > Hi! > Let the battle begin :-) see: > http://www.imt.liu.se/~erisu/2011/AOM-beauty-contest.html Hi Erik, is the Javascript Object Dump missing regexps for 'address' and 'electronic_communications'? Or is that irrelevant? In the YAML, some com

Could YAML replace dADL as human readable AOM serialization format?

2011-12-02 Thread Thomas Beale
On 01/12/2011 21:37, Erik Sundvall wrote: > Hi! > > Let the battle begin :-) see: > http://www.imt.liu.se/~erisu/2011/AOM-beauty-contest.html > nice page - that's quite fun to see them all pasted up there. My question is: what's the/y

Could YAML replace dADL as human readable AOM serialization format?

2011-12-01 Thread Erik Sundvall
Hi! Let the battle begin :-) see: http://www.imt.liu.se/~erisu/2011/AOM-beauty-contest.html On Tue, Nov 22, 2011 at 13:24, Thomas Beale < thomas.beale at oceaninformatics.com> wrote: > > actually, ADL 2.0 as reported in this document is now obsolete. The ADL > 1.5 compiler already does this, and

Could YAML replace dADL as human readable AOM serialization format?

2011-11-22 Thread Erik Sundvall
Hi! A little suggestion/thought (that might be of value also for CIMI-folks and others looking at "archetyping" using ADL and AOM and wondering if a specific language is needed). *Limitations:* For efficient handling of RM (Reference Model) instances (patient data) flying back and forth between s

Could YAML replace dADL as human readable AOM serialization format?

2011-11-22 Thread Thomas Beale
On 22/11/2011 11:51, Erik Sundvall wrote: > Hi! > > A little suggestion/thought (that might be of value also for > CIMI-folks and others looking at "archetyping" using ADL and AOM and > wondering if a specific language is needed). > > *Limitations:* > For efficient handling of RM (Reference Model