Skip to content

Functional Programming Language which compiles to Tree Animation Representation

License

Notifications You must be signed in to change notification settings

jam-computing/redwood

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redwood

Mathmatical / Scripting language to create animations to be displayed on a tree with Evergreen.

TODO:

  • Design Language
  • Read in from file
  • Lexer
  • Parser
  • Math lexer + parser ( so fun )
  • Spit output to a file ( no need to reinvent the wheel - use json )
  • Without a led file, spit out a list of grids
  • With a led file, convert list of grids to led colours

Code Example

import tick as t

let p: node{ plane }

p :: f(t): v3 = 0, t, 0

@p f(t): v3 = t, t, t

No multiple arguements - USE CURRYING INSTEAD

No methods - Redesign

Creating animations

  • With arguement flags?
  • Do it in repl?
  • Config file?

Running Program

redwood source_file led_locations

About

Functional Programming Language which compiles to Tree Animation Representation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages