Giter Site home page Giter Site logo

lyte's Introduction

lyte

build status dependency status

A simple programming language for writing Audulus nodes, and maybe other things too :)

Goals:

  • "dynamic ownership" memory management, no GC
  • function and operator overloading
  • generics constrained by "interfaces"
  • familiar syntax (a mix of rust and swift)
  • arena allocation for realtime
  • memory safety
  • type inference
  • incremental query-based compiler
  • Cranelift backend
  • VM for environments where you can't JIT (iOS)
  • Safe cancellation of programs which are taking too long to finish

lyte's People

Contributors

wtholliday avatar adamnemecek avatar

Stargazers

Krzysztof Zduniak avatar  avatar compwron avatar Matt avatar Denys Mentiei avatar Ales Tsurko avatar stagas avatar Nikita Zhenev avatar  avatar jaek avatar Oskar avatar Pouya Kary ✨ avatar Mark Boyd avatar kaya avatar Jerry Wong avatar Yuan-Man avatar Qichao Lan avatar Billy Messenger avatar Weird Constructor avatar Bryce (Jámm) Hostetler avatar  avatar m. interrupt avatar Tim Kersey avatar  avatar Kyle Howells avatar ✪ vi4m Marcin Kliks avatar Max Desiatov avatar Mark Malstrom avatar Adam Bell avatar John Clema avatar Aurelius Prochazka avatar  avatar

Watchers

 avatar m. interrupt avatar  avatar Afonso Bordado avatar Compositor software avatar Mark Boyd avatar  avatar Qichao Lan avatar

Forkers

mill13

lyte's Issues

adding cranelift breaks build

Add cranelift = "0.92.0" to Cargo.toml and run cargo test:

   Compiling cranelift-codegen v0.92.0
error[E0603]: module `raw` is private
  --> /Users/holliday/.cargo/registry/src/github.com-1ecc6299db9ec823/cranelift-codegen-0.92.0/src/ctxhash.rs:7:16
   |
7  | use hashbrown::raw::RawTable;
   |                ^^^ private module
   |
note: the module `raw` is defined here
  --> /Users/holliday/.cargo/registry/src/github.com-1ecc6299db9ec823/hashbrown-0.12.1/src/lib.rs:76:1
   |
76 | mod raw;
   | ^^^^^^^

error[E0282]: type annotations needed
   --> /Users/holliday/.cargo/registry/src/github.com-1ecc6299db9ec823/cranelift-codegen-0.92.0/src/egraph.rs:375:13
    |
375 |             CtxHashMap::with_capacity(cursor.func.dfg.num_values());
    |             ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `K` declared on the struct `CtxHashMap`
    |
help: consider specifying the generic arguments
    |
375 |             CtxHashMap::<K, V>::with_capacity(cursor.func.dfg.num_values());
    |                       ++++++++

Some errors have detailed explanations: E0282, E0603.
For more information about an error, try `rustc --explain E0282`.
error: could not compile `cranelift-codegen` due to 2 previous errors

VM for iOS

Can't JIT on iOS, so will need to build a little VM interpreter.

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.