GithubHelp home page GithubHelp logo

hanako-eo / arsenic Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 0.0 68 KB

A language designed as an alternative to TypeScript, stricter, more rigorous and designed to optimise the JavaScript code produced as much as possible.

License: MIT License

Zig 100.00%
arsenic javascript language typechecker typescript

arsenic's Introduction

Arsenic

Arsenic is a language designed as an alternative to TypeScript, stricter and more rigorous, it will transpile towards JS by offering code that is much easier to maintain. It will correct all the little imperfections of TypeScript.

It will try also to add new "false" feature to JavaScript like operator overloading or defer.

Roadmap

Core Roadmap

  • Lexer/Parser (converte file into AST)
  • Scanner (check and optimise the AST)
  • Type Checking
  • Compile to JS
  • Optimise the JS output

Functionality Roadmap

  • Import (with const a = #import("./a.ars");)
  • Operator overloading (with compile only symbol @@op_add, @@op_eq and many more)
  • Interface
  • Match expression (switch like)
  • Tuples (and trying to optimise memory with them)
  • Enum and Union
  • Optimize Array<int> with TypedArray

(Really) Long-term Roadmap

  • Try to generate the V8 bytecode for Nodejs

arsenic's People

Contributors

hanako-eo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.