Code Monkey home page Code Monkey logo

zlang's Introduction

zlang: zlang

What is it?

zlang is a dangerous idea wrapped in an intractable paradigm.

Code Guide

Check out examples/ for example zlang syntax.

Replace filenames and paths as necessary in the examples below. All files are relative to where you started your erlang VM.

You can (probably) compile the examples to an expanded LFE syntax (macroexpand-1 basically) by: zlang:lfe_module_debug(iolist_to_binary(zlang:mod(zlang:compile({file, "editor.zlang"}), poopin))).

You can run a file directly by: f(), {ok, Name, Bin} = zlang:lfe_module_binary(iolist_to_binary(zlang:mod(zlang:compile({file, "editor.zlang"}), poopin))). zlang:load_lfe_binary(Name, Bin). poopin:run_tests(zstub).

If you want to see the zlang lisp before it gets passed to LFE, do a quick: io:format("sn", [zlang:mod(zlang:compile({file, "editor.zlang"}), poop)]).

Building

Get deps: ./rebar get-deps

Build: ./rebar compile

Testing

Ha! Tests?

When to use zlang

Never. Never use zlang.

zlang's People

Contributors

mattsta 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.