Fortunately, one theme that seems to be repeated is the idea that in general it's a 'good thing' for people to experiment with creating new programming languages. This of course is very encouraging for me to read, especially coming from these particular people.
As well as being full of discussion about generic issues that are useful for creating, disseminating, evolving and standardising a programming language, there have also been a few very specific bits of advice that I will try to follow, one of which is to use flex and bison when building your compiler.
Flex and bison are tools that help generate fast and correct C code for the first two steps of any text compilation process, namely: lexical analysis and grammar parsing. To date I've been hand crafting the C code for these two steps of my Textual Semprola compiler. I've known about flex and bison for a while, but always thought the cost of the learning curve and the code re-write were not quite worth it.
However, I'm about to go through a phase where I considerably extend and tinker with the syntax for Textual Semprola and so now I need to re-write this part of the code anyway. As I'm also reading more people sing the praises of flex and bison I've decided that this time I should push through the learning curve and start using these powerful little tools. The great thing is that once I've made the switch it should be easier to experiment with the syntax in the future.
One other thing to mention is that I've recently started some more client work. While this will no doubt delay the progress of this research project it does also help fund it!
Good move!
ReplyDeleteIf I'd have known this, I'd have lent you my Bison Manual too. (Though it's also online.)
From the little I played with it, bison seems pretty handy.
Oli,
ReplyDeleteWe have an awful lot to talk. Please contact me via e-mail (super.driver.512@gmail.com) so we can chat a little or maybe even VoIP.
I've only read the beginning of your thoughts on Semantic Programming, but I know we're in full sync.
Can we talk?