GithubHelp home page GithubHelp logo

aweary / chalk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rust-lang/chalk

1.0 2.0 0.0 9.18 MB

A PROLOG-ish interpreter written in Rust, intended eventually for use in the compiler

License: Other

Rust 99.37% Emacs Lisp 0.01% JavaScript 0.01% CSS 0.62%

chalk's Introduction

Build Status Chalk Book Rust Documentation

chalk

A Prolog-ish interpreter written in Rust, intended perhaps for use in the compiler, but also for experimentation.

See the Chalk book for more information.

FAQ

How does chalk relate to rustc? The plan is to have rustc use the chalk-engine crate (in this repo), which defines chalk's solver. The rest of chalk can then be considered an elaborate unit testing harness. For more details, see the Traits chapter of the rustc-dev-guide.

Where does the name come from? chalk is named after Chalkidiki, the area where Aristotle was born. Since Prolog is a logic programming language, this seemed a suitable reference.

Blog posts

Here are some blog posts talking about chalk:

REPL

There is a repl mainly for debugging purposes which can be run by cargo run. Some basic examples are in libstd.chalk:

$ cargo run
?- load libstd.chalk
?- Vec<Box<i32>>: Clone
Unique; substitution [], lifetime constraints []

Contributing

If you'd like to contribute, consider joining the Traits Working Group. We hang out on the rust-lang zulip in the #wg-traits stream.

See the contributing chapter in the chalk book for more info.

chalk's People

Contributors

aatxe avatar aravind-pg avatar aturon avatar basil-cow avatar crlf0710 avatar declanvk avatar detrumi avatar eddyb avatar fabric-and-ink avatar flodiebold avatar jackh726 avatar kichjang avatar leoyvens avatar ljedrz avatar lnicola avatar markmccaskey avatar matklad avatar memoryruins avatar michael-f-bryan avatar mikeyhew avatar nikomatsakis avatar olegshtch avatar pietroalbini avatar scalexm avatar sunjay avatar tirr-c avatar tmandry avatar withoutboats avatar yaahc avatar zaharidichev avatar

Stargazers

 avatar

Watchers

 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.