Related articles |
---|
New version of the entity compiler vincent@famillebelliard.fr (vincent_belliard) (2011-11-27) |
From: | vincent_belliard <vincent@famillebelliard.fr> |
Newsgroups: | comp.compilers |
Date: | Sun, 27 Nov 2011 13:36:27 -0800 (PST) |
Organization: | Compilers Central |
Keywords: | available |
Posted-Date: | 27 Nov 2011 17:43:53 EST |
A new version of the Entity compiler is available (http://
code.google.com/p/entity-language/).
It adds support of tcp client sockets. Sockets are asynchronous.
Entity uses a url like string to describe a socket (like Zeromq). For
example: "tcp://[::1]:22"
More information on http://code.google.com/p/entity-language/wiki/sockets
It adds support for applicative grammars. It allows to specify extra
syntaxes to describe objects contents. Theses new grammars are used by
the compiler to compile some objects.
More information on http://code.google.com/p/entity-language/wiki/grammars
And it adds a MongoDB driver. It's very convenient to use MongoDB with
Entity because, with applicative grammars, the MongoDB documents are
described nearly as MongoDB shell does. For example:
Mongodb_document { `$addToSet`: { x: { `$each`: "yellow" , "orange",
"cyan" } }, xyz: true }
More information on http://code.google.com/p/entity-language/wiki/mongodb
The proof of concept is now finished. Days after days, it's a really
pleasure to work with this language. The final compiler can start now.
It will generate LLVM intermediate representation. Some features will
be added (like exceptions and garbage collector). However, the POC
compiler may be used to write small programs or to make a quick proof
of concept of your application.
It may take several months to achieve the final compiler because I
only work on my free time. If any company wants to support the project
and employs me, it could go faster.
Vincent Belliard
Return to the
comp.compilers page.
Search the
comp.compilers archives again.