Circa is a programming language for live coding, in development
21–30 of 34 posts
Re: Circa is a programming language for live coding, in development
#22I managed to compile both build/circa and build/circa_d (build/circa_t is broken).
circa ➤ export CIRCA_HOME=`pwd`
~CIRCA_HOME ➤ export PATH=$PATH:$CIRCA_HOME/build
~CIRCA_HOME ➤ python tools/prebuild.py
~CIRCA_HOME ➤ scons build/circa build/circa_d
I can run the tests: ~CIRCA_HOME ➤ tools/ca-tests.py
Ran 105 tests, 0 failed, 11 disabled.
But I can't launch the repl (circa_d --repl) nor get anything from the samples. On some of the samples I get errors, on others I get nothing.Am I missing something?
Re: Circa is a programming language for live coding, in development
#23Significant whitespace in a live coding language? I like and use Python, but that seems like a show-stopper of a bad idea for a language designed for throwing code around in real time.
Re: Circa is a programming language for live coding, in development
#24Re: Circa is a programming language for live coding, in development
#25Significant whitespace in a live coding language? I like and use Python, but that seems like a show-stopper of a bad idea for a language designed for throwing code around in real time.
Can you expand on this? If I get my indentation wrong then it will be obvious very quickly. I'm guessing that it will only update if the basic syntax is correct though.
Not if the language allows you to mix tabs and spaces; in that case semantic details can be invisible.
Re: Circa is a programming language for live coding, in development
#26Anyone got it working? I managed to compile both build/circa and build/circa_d (build/circa_t is broken). circa ➤ export CIRCA_HOME=`pwd` ~CIRCA_HOME ➤ export PATH=$PATH:$CIRCA_HOME/build ~CIRCA_HOME ➤ python tools/prebuild.py ~CIRCA_HOME ➤ scons build/circa build/circa_d I can run the tests: ~CIRCA_HOME ➤ tools/ca-tests.py Ran 105 tests, 0 failed, 11 disabled. But I can't launch the repl (circa_d --repl) nor get any…
There is definitely some breakages in there, and most of those samples won't run currently. I'm rewriting the app that runs things in a graphical shell and I hope to have that ready soon. If you are feeling brave, you can go back in time to use Plastic (the SDL-based shell that I was relying on for a while). Instructions for that:
Checkout revision efb5300
Delete the files at src/generated/*.cpp and run prebuild.py again
scons build/plas_r (this will require SDL)
Launch with: build/plas_r samples/asteroids.ca (or some other sample)
Re: Circa is a programming language for live coding, in development
#27I really like this! One thing that wasn't shown is having variables in the CPP code get modified from in game. Would that be possible?
Game devs love to have tweakable variables, so there's a lot of libraries that will help with this. One example: http://www.antisphere.com/Wiki/tools:anttweakbar
Re: Circa is a programming language for live coding, in development
#28I always wonder why so many languages eschew multiline comments. Is it monumentally harder to make a parser that supports it or is this a conscious decision?
Re: Circa is a programming language for live coding, in development
#29I always wonder why so many languages eschew multiline comments. Is it monumentally harder to make a parser that supports it or is this a conscious decision?
It's not too hard, it was just a combination of laziness plus not being able to decide on a multiline comment syntax that looks nice. Anyway I just added it, using {- and -} separators (as in Haskell)
I was just curious since there seem to be a few languages that only have single line comments. But usually it just results in people finding "hacks" so they can make them anyway (like Python's doc-strings) which just ends up being uglier than supporting them natively.
Re: Circa is a programming language for live coding, in development
#30How can you have a website displaying a live-coding language, without a video displaying someone actually live-coding? :P Seriously though, I'd love to see a video of someone doing live-coding. I've been looking for a good live-coding environment ever since I found fluxus[1], and subsequently found out that development of it had stopped. [1] http://www.pawfal.org/fluxus/
Why would you think development of fluxus "has stopped"? The mailing list [1] is active enough for such a minority project, and the git repo [2] shows a reasonable activity for a mature (i.e. "done") project, with functionality commits from October last year, and French localisation commits from April this year (last one on the 19th, so less than 24h ago). [1] http://lists.pawfal.org/pipermail/fluxus-pawfal.org/ [2]…