Coder Social home page Coder Social logo

holymer's Introduction

Holymer

Holymer is a programming language

Status

  • Parser
  • Typechecker
  • IR
  • Optimizer
  • Complier

The IR output can sometimes be run with scheme interpreter, sometimes.

Contributing

You need to have Rust Toolchain installed on your machine before building it.

$ git clone https://github.com/azur1s/holymer.git
$ cd holymer
# build with `cargo build`

holymer's People

Contributors

azur1s avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

holymer's Issues

Optional Hole (`_`) in piping

current piping syntax

fun main: int = do
    "Hello, World!\n"
    |> @write(_);
    return 69;
end;

The _ (Hole) is required by default, maybe it will be a quality-of-life improvement if we can make it optional, something like on default it will assume _ is on the first one, for example:

(assuming foo() takes 2 argument)

"Hello, World!\n"
|> foo(_, 1);

is the same as

"Hello, World!\n"
|> foo(1);

This should be pretty easy and might improve the quality-of-life by a lot.

Diagnostics only report one error

The diagnostics stuff can only report one error (not because the diagnostics is bad, I built it so that it can handle multiple error already) and isn't really helpful when there is multiple error.

This is due to the early returning error in stuff, when it founds the error (e.x. in lowering) it early returns and never continue. I think the fix is to have an Error type and when found an error, return the Error type and continue doing its stuff.

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.