Skip to Navigation | Skip to Content

openEHR-DecisionSupport mailing list archives

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: AQL


Hi Seref,

I won't be using Antlr.  I looked at it when thinking about the ADL
parser and was concerned about questions regarding it's Python support.
I ended up going with Pyparsing because it is Pythonic and easier for me
to understand.  As a bonus, ADL intrigued Paul McGuire (Pyparsing
author) enough that he wrote the ADL parser.  :-)

There is a comparison of Antlr,PLY & Pyparsing as well as regex on a
small task here:
http://www.dalkescientific.com/writings/diary/archive/2007/11/03/antlr_java.html
 

Pyparsing is much slower but I'm not so sure it would be slower than
Antlr generated Python code on a grammar like ADL.  Either way the speed
of processing ADL is not much of an issue in my implementation.  Though
it will be in AQL.  I'll just have to see how it performs at that time.

Cheers,
Tim 


> 
-- 
**************************************************************************
Join the OSHIP project.  It is the standards based, open source
healthcare application platform in Python.
Home page: https://launchpad.net/oship/ 
Wiki: http://www.openehr.org/wiki/display/dev/Python+developer%27s+page 
**************************************************************************

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
openEHR-decisionsupport mailing list
openEHR-decisionsupport@openehr.org
http://lists.chime.ucl.ac.uk/mailman/listinfo/openehr-decisionsupport

  • References:
    • AQL
      • From: Sam Heard <sam.heard@oceaninformatics.com>
    • Re: AQL
      • From: Tim Cook <timothywayne.cook@gmail.com>
    • Re: AQL
      • From: "Seref Arikan" <serefarikan@kurumsalteknoloji.com>