GithubHelp home page GithubHelp logo

hchogan / loxcraft Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ajeetdsouza/loxcraft

0.0 0.0 0.0 680 KB

Language tooling for the Lox programming language.

Home Page: https://ajeetdsouza.github.io/loxcraft/

License: MIT License

JavaScript 1.26% Rust 92.02% TypeScript 4.42% CSS 0.76% HTML 0.29% Just 1.25%

loxcraft's Introduction

loxcraft

crates.io

Language tooling for the Lox programming language.

Installation

cargo install loxcraft --locked

Features

Screenshots

Screenshot of REPL

Screenshot of online playground

Benchmarks

Time taken to execute the benchmark suite (lower is better):

Benchmark loxcraft clox jlox
binary_tree 8.29s 8.13s 26.41s
equality_1 7.17s 7.73s 10.01s
equality_2 8.39s 9.66s 14.30s
fib 10.90s 10.09s 21.89s
instantiation 10.83s 12.84s 14.24s
invocation 9.93s 8.93s 15.77s
method_call 11.01s 9.12s 62.03s
properties 10.05s 5.98s 69.77s
string_equality_1 7.76s 7.66s 34.08s
string_equality_2 10.78s 10.52s 36.25s
trees 9.97s 8.72s 72.87s
zoo 10.67s 6.18s 100.10s

Benchmarks

Benchmarks were run with the following configuration:

  • Device: Apple MacBook Pro (16-inch, 2021)
  • Processor: M1 Pro
  • RAM: 16 GiB
  • OS: macOS Ventura 13.2
  • Rust: 1.66.1
  • Apple Clang: 14.0.0
  • Oracle JDK: 19.0.2

Contributors

loxcraft's People

Contributors

ajeetdsouza avatar crazystylus 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.