Re: The Array type

Stefan Seefeld <[email protected]>
Newsgroups gmane.comp.documentation.synopsis
Message-ID <[email protected]>
Hi Gilles,

Gilles J. Seguin wrote:
> On Fri, 2004-07-30 at 22:09, Stefan Seefeld wrote:
> 
>>Thanks. In fact, I'm working on the C++ parser right now,
>>to be able to expose a much more rich AST to python to allow
>>real code inspection and following that code generation.
>>Drop in if you have ideas or even want to help :-)
> 
> 
> Hello Stefan,
> 
> First a little introduction.
> I have offered Grzegorz Jakacki, from the opencxx project
> to update the configuration of opencxx.  That step is done.
> The change are visible on the branch rel_2_8.
> Grzegorz is targetting third week of august for releasing 2.8 .

yeah, I know :-)

> Next project in opencxx, increase test coverage.
> Any idea are welcome.

I'm doing that inside synopsis right now, i.e. I'm adding tests
to the opencxx backend inside synopsis. My tests are all organized
using the qmtest framework (www.qmtest.com), and I offered Grzegorz
to put something similar into place for his project.
That being said, I still hope (as you may know) that we can at some
point merge both projects. Right now I'm doing most work on synopsis,
offering from time to time to merge back fixes into the OpenC++ project.

> The main point of this email, how can I see the work that
> you are doing on the C++ parser.
> I have done 'svn checkout', so I have revision 1332.

I'm just starting my work on the backend. My plans are (in that order):

* rewrite some low level classes (Buffer, Lexer, basically)

* make the existing API more clean (const-correct, more typed, etc.)

* try to understand how the Parser needs to be changed in order to
   correctly understand the tokens, i.e. build a correct parse tree / AST
   (see recent posts on the opencxx list).

* build a true high-level AST API on top (no more Car() / Cdr() calls !)

* export that AST API publicly through C++ as well as python

* get rid of the occ executable, provide a python script instead (for
   backward compatibility only)

* solidify the C++ / python APIs to let users build their domain-specific
   applications either as python scripts or C++ programs

I realize this is a lot of work. I'm not sure what the timeframe is to get
all of this done. I'v almost finished the first point (the Buffer is committed,
the Lexer will follow one of these days).
If you are interested in getting involved, let me know.

Kind regards,
		Stefan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.