livecoding

What programming language features are well suited for developing a live coding framework?

[亡魂溺海] 提交于 2019-12-20 18:26:13
问题 I would like to build a "live coding framework". I should explain what is meant by "live coding framework". I'll do so by comparing live coding to traditional coding. Generally put, in traditional programming you write code, sometimes compile it, then launch an executable or open a script in some sort of interpreter. If you want to modify your application you must repeat this process. A live coding framework enables code to be updated while the application is running and reloaded on demand.

Finding the line number of a function in Haskell

天涯浪子 提交于 2019-12-13 12:09:43
问题 I am trying to create a Haskell program which draws some simple 2d shapes to screen, but when you hover over each shape, it prints the line of source code where the shape was created. In order to do this I would like to be able to create shapes with parameters for their dimensions and a final parameter which indicates the line number. Something like this: rect1 = Shape(Rectangle 2 2 lineNumber) This would create a rectangle of width 2 pixels, height 2 pixels, and use a function lineNumber to

Edit assembly language code in Visual Studio while stepping through each statement

て烟熏妆下的殇ゞ 提交于 2019-12-10 23:32:11
问题 In Visual Studio, is it possible to edit assembly language code while stepping through each statement (so that statements in the program can be modified while the program is running?) It would be useful to modify statements in a program while the program is running (for debugging purposes), but I'm not sure if this is possible yet. 回答1: You can modify the source code, but it doesn't get reassembled to produce a new binary during your debugging session. The debugger will tell you the "source

Software or Tricks For Live Coding Presentation

。_饼干妹妹 提交于 2019-12-10 04:17:26
问题 I am going to be giving an intro presentation / training class on Ruby on Rails soon. I would like to make it interesting and engaging while still seeming "polished". Since it's a hands-on class most people will be building an app along with me, I want to be able to show my terminal/editor and show the resulting web pages, however I'd like to not be always switching between windows. Keynote used to have the ability to embed webpages into slides, but it was removed, and PowerPoint Mac support

Software or Tricks For Live Coding Presentation

拟墨画扇 提交于 2019-12-05 04:25:50
I am going to be giving an intro presentation / training class on Ruby on Rails soon. I would like to make it interesting and engaging while still seeming "polished". Since it's a hands-on class most people will be building an app along with me, I want to be able to show my terminal/editor and show the resulting web pages, however I'd like to not be always switching between windows. Keynote used to have the ability to embed webpages into slides, but it was removed, and PowerPoint Mac support seems iffy. There doesn't seem to be any way to embed a terminal window. Does anyone have a

Finding the line number of a function in Haskell

孤人 提交于 2019-12-04 12:15:49
I am trying to create a Haskell program which draws some simple 2d shapes to screen, but when you hover over each shape, it prints the line of source code where the shape was created. In order to do this I would like to be able to create shapes with parameters for their dimensions and a final parameter which indicates the line number. Something like this: rect1 = Shape(Rectangle 2 2 lineNumber) This would create a rectangle of width 2 pixels, height 2 pixels, and use a function lineNumber to store the line this piece of code was written on. Does such a function exist in Haskell? Is it simple

What's available for livecoding music? [closed]

孤人 提交于 2019-12-03 07:15:08
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I recently found out about livecoding where someone will program something on the fly to make music. Apparently there are special languages and libraries for this sort of thing. So I'd like to know if anyone has any experience with it and if they have any languages, libraries or tools to suggest. 回答1: Check these

What's available for livecoding music? [closed]

断了今生、忘了曾经 提交于 2019-12-02 20:47:41
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. I recently found out about livecoding where someone will program something on the fly to make music. Apparently there are special languages and libraries for this sort of thing. So I'd like to know if anyone has any experience with it and if they have any languages, libraries or tools to suggest. CMS Check these resources: SuperCollider (Environment and programming language for real time audio synthesis and algorithmic