[pd-discuss] Using an intermediate language for pdcalc proposal
Maarten Zeinstra
mz at kl.nl
Mon Mar 21 13:16:02 UTC 2011
Hi Platonides
Right, I see and agree with your point. It is not considered good practice, I considered this problem when working on the format. IMO it is not as perverse as your example suggests.
So we agree on most points, I am being a bit more pragmatic and have an, inherently, somewhat sub-esthetical solutions to this complex problem. How would you design an intermediary language that:
1. Is easy parse-able in multiple languages.
2. Separates data from algorithm
3. Ensure that the core software does not need adjusting when data needs adjusting
And please reply with an example. Having a theoretical discussion will bring this mailinglist only so-far in developing solutions.
Best,
Maarten
On Mar 17, 2011, at 20:17 , Platonides wrote:
> Maarten Zeinstra wrote:
>> Hi platonides,
>>
>> I agree with you that my intermediate data format is not the most estetically pleasing of it's kind. However it is also exactly that: data. Getting Dijkstra on me is a bit of an overkill. As Dijkstra discussed algorithms, not data models. When my calculator parses this format it transforms it into a nice object oriented acyclic directed graph. I do completely agree with the evaluate property however. I think there are better solutions for that, which I didn't consider at the time.
>>
>> Could you sketch or proof of concept a tertiary approach?
>>
>> Cheers,
>>
>> Maarten Zeinstra
>>
>> Kennisland | Knowledgeland
>> T: +31.20.575.6720 | M: +31.6.43.053.919
>> www.kennisland.nl | www.knowledgeland.org
>
> Heh, I could live with the gotos. They are after all node references.
> OTOH parsing the xml file and then parsing the content of the evaluate
> nodes solving those simple equations is not appropiate for a good format.
>
> It reminds me perversions like
> http://thedailywtf.com/Articles/XML_vs_CSV__0x3a__The_Choice_is_Obvious.aspx
>
>
> _______________________________________________
> pd-discuss mailing list
> pd-discuss at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/pd-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/pd-discuss/attachments/20110321/02867448/attachment.html>
More information about the pd-discuss
mailing list