4 ms·
Yep. I write my engine in D, which is nicer than c++ for prototyping, but regardless I embed a scheme for scripting.
by earenndil 7y ago
Yep. I write my engine in D, which is nicer than c++ for prototyping, but regardless I embed a scheme for scripting.
- zem 7y agocould you tell me more about the D/scheme integration - specifically what scheme you used, and what you had to do to integrate it with D? i spent a couple of days trying to integrate chibi with D, but gave up because it made too much use of preprocessor macros.
- earenndil 7y agoI shopped around quite a bit and eventually decided that s7 scheme[1] would be the best for me. It's been fairly painless to integrate so far, I've just copy-pasted the function prototypes I've needed, as I've needed them. No macros. Engine is closed-source atm so I can't show code, but it's a pretty straight translation from the c examples. 1: https://ccrma.stanford.edu/software/snd/snd/s7.html https://ccrma.stanford.edu/software/snd/snd/s7.html
- zem 7y agothanks, that looks great!