Copperbox revision 3154.
I've added traits (c.f Pharo Smalltalk) to the top-level syntax. My expectation is that traits will allow instruments to be defined from modular parts.
At the moment there is no flattening of traits - all the processing after parsing needs implementing...
Tuesday, June 17, 2014
Monday, June 16, 2014
ochre-lang / majalan3
Copperbox revision 3153.
Ochre-lang - some work extending the top level syntax to allow modular definitions.
Majalan - changed TEMP_DIR environment variable name. I've just switched to a new development machine which highlighted this error (the previous env var name pertained to the now obsolete OM-shell).
Ochre-lang - some work extending the top level syntax to allow modular definitions.
Majalan - changed TEMP_DIR environment variable name. I've just switched to a new development machine which highlighted this error (the previous env var name pertained to the now obsolete OM-shell).
Wednesday, June 11, 2014
ochre-lang
Copperbox revision 3152.
I've added some extra syntax for instrument definitions before I start work on the translation from top-level syntax to the intermediate representation.
Instrument definitions should be thought of as (named) classes that are instantiated by an orchestra definition that supplies their instrument number (orchestra definitions are still to add to the syntax). Once I have class-like objects I hope implement something like traits to compose class fragments, modularizing the definition of instruments.
I've added some extra syntax for instrument definitions before I start work on the translation from top-level syntax to the intermediate representation.
Instrument definitions should be thought of as (named) classes that are instantiated by an orchestra definition that supplies their instrument number (orchestra definitions are still to add to the syntax). Once I have class-like objects I hope implement something like traits to compose class fragments, modularizing the definition of instruments.
Tuesday, June 10, 2014
ochre-lang
Copperbox revision 3151.
I've added a pretty printer to a s-expression format (with a bit of GHC core slipped in). This is to help me better identify what syntax forms I'm dealing with after parsing, before I start the translation from the top level syntax to the intermediate representation.
I've added a pretty printer to a s-expression format (with a bit of GHC core slipped in). This is to help me better identify what syntax forms I'm dealing with after parsing, before I start the translation from the top level syntax to the intermediate representation.
Monday, June 9, 2014
ochre-lang
Copperbox revision 3150.
I've added the K-Normal Form like intermediate syntax and the optimizations passes from the original (Haskell embedded) Ochre.
I've added the K-Normal Form like intermediate syntax and the optimizations passes from the original (Haskell embedded) Ochre.
Sunday, June 8, 2014
ochre-lang
Copperbox revision 3149.
Initial work adding syntax data types for the Csound backend. It looks like it will be better to have the K-Normal Form style immediate syntax that the original Ochre had, rather than translate to Csound from the current monadic syntax. This is good news as I can reuse much of the original Ochre.
Initial work adding syntax data types for the Csound backend. It looks like it will be better to have the K-Normal Form style immediate syntax that the original Ochre had, rather than translate to Csound from the current monadic syntax. This is good news as I can reuse much of the original Ochre.
Thursday, June 5, 2014
ochre-lang
Copperbox revision 3148.
Updated ochre-lang correcting the do-notation which didn't work previously. Because I want to implement a module system for Ochre I'm seriously thinking of developing it as a closed (i.e. not embedded) DSL, hence I've rebooted work on ochre-lang.
Updated ochre-lang correcting the do-notation which didn't work previously. Because I want to implement a module system for Ochre I'm seriously thinking of developing it as a closed (i.e. not embedded) DSL, hence I've rebooted work on ochre-lang.
Subscribe to:
Posts (Atom)
Blog Archive
About Me
- Stephen Tetley
- Disambiguating biog as there are a few Stephen Tetley's in the world. I'm neither a cage fighter or yachtsman. I studied Fine Art in the nineties (foundation Bradford 1992, degree Cheltenham 1992 - 95) then Computing part-time at Leeds Met graduating in 2003. I'm the Stephen Tetley on Haskell Cafe and Stackoverflow.