OK, what is the status It's in the technical design phase. Graphica is a 3D scene graph language, ( the first version of ) the Graphica compiler generates Mathematica source code that will be handled by Mathematica ( another target to compile to could be Java/jReality for example ). I am at the point of studying the theory behind compilers and the selection of tools, candidates I have pre-selected are:
- ANTLR,
- javaCC,
- jparsec and
- an all handcrafted option.
More options may pop-up while studying though. I selected four books to study:
- (1) Modern compiler implementation in Java, A.Appel, CUP 2004
- (2) Programming Language Processors in Java, D.Watt, D.Brown, Prentice Hall 2000
- (3) ANT LR Reference, Terence Parr, Pragmatic Bookshelf 2007
- (4) Compilers, PT&T, Aho, et al, Pearson 2007
Title (4) is aka the Dragon book and supposedly is the best book on the subject, I'll use that as a glossary. Title (1) supports a javaCC approach, and develops MiniJava, a subset of Java, (2) builds a compiler and interpreter for a language called Triangle ( with Java ). I already downloaded the source, created a project for it in NetBeans and tested a few compiles and runs of a Triangle program which is a Pascal type of language. Several bugs have been reported over the years which I have collected and should fix. Title (3) is clearly pro ANTLR. And (4) is the authoritative reference. Some of the books may seem old but I used a list from a 2010 university syllabus.
I'll have to solve one other issue on the Mathematica side of the project, and that is how to remotely create a Notebook using a kernel I am connected to in Java. Once that is solved I can continue programming, using a stub compiler if necessary.
The purpose of Graphica is to stimulate my personal development and knowledge of computer science, so any pro-s and con-s that I might mention are clearly mine and have to be seen in that light only.
To be continued
Please follow this blog
Search this blog
Subscribe to:
Post Comments (Atom)
Popular Posts
-
Among lectures on Calculus I,II and III, ( Introduction to ) Linear Algebra and ( Introduction to ) Differential Equations from the UCCS ( ...
-
Problem: We want to calculate the sum of the elements of a list of numbers. Suppose this list is named l and has been assigned the value {1,...
-
Today I started to read the Ramanujan biography ( The e-book version, of course. ) The book looks promising. What was it like to communicate...
-
I found a set of video lectures on Abstract Algebra. MATH E-222 Abstract Algebra - http://www.extension.harvard.edu/openlearning/math222/ E...
-
Ramanujan's genius (r) was discovered by Hardy (l) At a very young age Ramanujan designed the following formula for a 3 by 3 magic sq...
Welcome to The Bridge
Mathematics: is it the fabric of MEST?
This is my voyage
My continuous mission
To uncover hidden structures
To create new theorems and proofs
To boldly go where no man has gone before

(Raumpatrouille – Die phantastischen Abenteuer des Raumschiffes Orion, colloquially aka Raumpatrouille Orion was the first German science fiction television series. Its seven episodes were broadcast by ARD beginning September 17, 1966. The series has since acquired cult status in Germany. Broadcast six years before Star Trek first aired in West Germany (in 1972), it became a huge success.)
No comments:
Post a Comment