Skip to content

Eventually, a Processing program implementing a parser and renderer for Context Free

Notifications You must be signed in to change notification settings

Hodapp87/scala_cf3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scala_cf3

What this is now:

  • An incomplete parser for Context Free written in Scala with parser combinators.

What this wants to be:

  • A parser and renderer for Context Free, usable as a Processing sketch, and adding in some additional features such as realtime animation and hardware rendering. The intention here is to pack the parser written in Scala into a JAR which I utilize from Processing; while this is a little clunky, the P5 UI and sites like OpenProcessing should still be able to run it. Using Processing as a library from Scala itself is an option, but it lacks these benefits. The remainder of the graphics might be done with something like GLGraphics.
  • A web-based renderer for the same. One approach is with Processing.JS, perhaps combined with something like J2JS that converts Java bytecode to JavaScript; this would likely make parsing very slow, but could be totally client-side. Another approach is to use a framework like Lift to do parsing and some analysis server-side, but all rendering client-side by generating JavaScript Canvas directives.

References:

About

Eventually, a Processing program implementing a parser and renderer for Context Free

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published