Giter Site home page Giter Site logo

livecode-cplusplus's Introduction

livecode-cplusplus

A simple C++ live coding environment based on openFrameworks. For OSX 10.8 and above.

The idea is that you have a single file open that you edit, and a window displaying visuals (and also a console). Every time you save the file you're editing, it gets recompiled and run in the window on the left. The console tells you if you made any mistakes in your code, and shows you any console output.

A version of openFrameworks is providing the visual functionality, sound probably works too but I haven't tried.

It takes about 500ms to compile and inject the code on my mac book air 1.8ghz.

Compilation is sped up by creating a compiled header of the main openframeworks header.

SETUP

  1. Clone the repository into your openframeworks directory
  2. cd into the folder
  3. type "make" to build everything
  4. type ". ./setenv.sh" (note it's dot space dot slash setenv.sh)
  5. type "./livecode" to start the program - the first time it starts up takes a moment.
  6. edit the file livecode.cpp - the app will update every time you save

USAGE

If you want to edit a file other than livecode.cpp, make the name of it your first parameter of livecode, e.g.

./livecode ../files/some.cpp

CHANGELOG

1.1

  • Removed dependency on of64, now works with a normal oF distribution (in 32 bit)

1.0

  • Initial version

livecode-cplusplus's People

Contributors

mazbox avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.