Home Demos Forum Research Guide
Viewing topic in forum 'general'
back to topic list

Language Specification

I found a lot of resources about the language, but I'm missing some syntax specification, or grammar. This would really help to develop IDEs. Is there something currently available?
by rainerschuster on 2016-12-08 07:07:14 (3 replies)

Hi there!

This is on our current list of things to do, but I'm afraid that we haven't quite gotten to it yet while we focus on continuing to develop the platform.

We'd be very happy to help here though; for example we can fairly quickly provide a list of syntactic constructs and operators from which a grammar could be written in your preferred notation. Dana's documentation generation system (components/doc/DocBuilder.dn) uses a simplified version of this to parse Dana code at a basic type level and we could fairly easily provide an exhaustive set of operators for you if that's useful. Writing a formal grammar is not something we have to hand and so would take us a little longer :-)

If it's useful for us to provide at least a full set of syntax/operators to help you with this, that's something we can easily do for you later today - so let us know if so.

by barry on 2016-12-08 10:01:13
Hi Barry!

I'm currently playing with the idea of writing an Xtext based IDE for Dana, that's why I asked. If you could provide such a list this would be of great help. Then I would start with a prototype.

Thanks Rainer
by rainerschuster on 2016-12-08 12:05:20
Hi Rainer,

We've added a core syntax specification at:

I hope that's a little helpful towards what you're trying to do, but do let me know if anything else would be useful.

If you manage to do this we'd be really keen to see the results of your work - if you like we'd be happy to host it here or link it. Feel free to ask any other questions as you work on it :-)

by barry on 2016-12-08 21:13:12
© Francis Research Ltd. 2018