Context Free Art

Forums

ContextFree.js

Moderators: MtnViewMark, MtnViewJohn, chris

<<

Aza

Posts: 1

Joined: Mon Jun 30, 2008 3:19 pm

Post Mon Jun 30, 2008 3:25 pm

ContextFree.js

Hello All,

I've released a Javascript port of Context Free. It's all open source (hosted on Google code). I'd love people's thoughts and certainly help in making it more full featured (it's lack such things as z-index!).

Thanks![/url]
<<

MtnViewMark

User avatar

Site Admin

Posts: 79

Joined: Wed May 04, 2005 12:46 pm

Location: Mountain View, CA

Post Tue Jul 01, 2008 3:49 am

Welcome to the community, Aza! The javascript version is quite cool.

Another important missing feature is auto sizing of the image size.

Okay people: Step up and help make this version complete!
I'm the "m" in "mtree.cfdg"
<<

drhorrible

Posts: 1

Joined: Thu Aug 07, 2008 2:13 am

Post Thu Aug 07, 2008 2:19 am

I love it! (so much I've joined this forum). I think I can help with the parsing of the grammar, but I would like to see how the C++ does this. I downloaded the source for ContextFree, but I'm having difficulties finding the code I'm looking for. Can someone give me a pointer?
<<

MtnViewJohn

User avatar

Site Admin

Posts: 544

Joined: Fri May 06, 2005 2:26 pm

Location: Mountain View, California

Post Thu Aug 07, 2008 8:20 am

We use flex and bison to generate the cfdg compiler. The cfdg.l and cfdg.y files contain the flex and bison grammars. They generate code that calls functions in yglue.cpp that build the data structures for the cfdg file. The renderer interprets these data structures to create the cfdg image.

Return to Developers

Who is online

Users browsing this forum: No registered users and 0 guests

Forum Tools
Search
User
  • Register
  • Username:
  • Password:
  • auto-login
book coverSee our book:
Community of Variation