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

前端 未结 8 2196
孤城傲影
孤城傲影 2021-02-07 17:39

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 codin

8条回答
  •  佛祖请我去吃肉
    2021-02-07 18:15

    python on google appengine has repote_api_shell.py. this is not a full live-coding suite - clojure on emacs w/ swank-clojure has had much more real-life use as far as integrating 'livecoding' into everyday development rhythms - but a lot of people don't realize this is possible in certain python environments.

    $ PYTHONPATH=. remote_api_shell.py -s dustin-getz.appspot.com
    App Engine remote_api shell
    Python 2.7.1 (r271:86832, Jun 16 2011, 16:59:05) 
    [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]
    The db, users, urlfetch, and memcache modules are imported.
    
    dustin-getz> import models
    dustin-getz> models.BlogPost(title='a modern take on automated testing', link='https://docs.google.com/document/pub?id=1DUxQogBg45rOTK4c5_SfEHiQcvL5c207Ivcy-gDNx2s', dont_publish_feed=False).put()
    
    dustin-getz> items = models.BlogPost.all().filter('dont_publish_feed =', False).order('-published_date').fetch(100)
    
    dustin-getz> len(items)
    58
    
    dustin-getz> for item in items[:5]: print item.title
    a modern take on automated testing
    Notes: Running a startup on haskell
    the [un]necessity of superstar middle management in bigcos
    "everything priced above its proper value"
    stages of growth as a software engineer
    

提交回复
热议问题