Git Product home page Git Product logo

circa's Introduction

Hiatus Notice - Nov 2015

Hi all. This project has had extremely slow development for the past year, so I'm calling it, it's officially on hiatus. With two darling kids in my life, it's tough to find the time for such an ambitious project.

I will probably take another stab at building a system like this, maybe a few years from now, and I think most of this codebase will be rewritten with lessons learned.

In the meantime I'm hacking away on a new project which is intended to be a foundation for any future language projects.

Thanks for following and keep coding,

-andyf

Introduction

Circa is a programming language designed for live coding. Most programming languages focus on improving what you can express, with Circa we focus on improving how you create code.

Features

  • Static typing with pervasive 'any' type.
  • Immutable values by default, backed by persistent data structures.
  • Simple type inference.
  • Supports closures.
  • Builtin types include: lists, maps, strings, colors, points, rectangles.
  • Memory model that avoids global garbage collection
  • Clean syntax resembling Python or Ruby.
  • Has a builtin module system.
  • Code can be inspected and modified at runtime.
  • State is a first-class entity, and is declared inline with code.
  • Has best-effort support for state migration across arbitrary code changes.
  • Builtin support for various methods of live modification, including automatic reloading of source text files.
  • Simple C API, supports extending and embedding.

Implementation

  • Implemented in portable C++.
  • Small number of external dependencies.
  • Cross-platform. Primary platform is OSX.

Current status

This project is currently alpha-level. Curious people, or people interested in hacking along, are welcome to try it out. People who want to use it for serious projects, or people who don't like bugs, are recommended to wait for a beta release.

Building

To build everything, just run "make" (requires GNU Make and GCC)

For more information, see BUILDING.txt .

Directory layout

3rdparty/ - External dependencies.

build/ - Created during build process, contains all build artifacts.

docs/ - Documentation.

include/ - Public include files. This is the directory to add to your include dirs.

notes/ - Miscellaneous notes and plan files.

src/ - Source code.

src/ca/ - Builtin Circa scripts.

src/unit_tests/ - C++ based unit tests.

tests/ - Script-based tests.

tools/ - Tools used for development of Circa itself.

Documentation

Refer to the /docs folder.

License

Unless otherwise specified, the contents of this project are freely available to the public under the MIT license. See the LICENSE file for more information.

Author

Andy Fischer - reachable on Github as 'andyfischer'

circa's People

Contributors

paulhodge avatar andyfischer avatar arn-e avatar cpressey avatar mwbrown avatar

Watchers

 avatar James Cloos 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.