Coder Social home page Coder Social logo

x-lang's Introduction

X Program Language

X is a programming language for demonstration purposes. It is coded live on stream.

Archive Videos

You can find the video archives on this YouTube playlist.

  • Episode 1: discussed design and purpose of the programming language, implemented the parser for variable assignment and function call syntax. (commit)
  • Episode 2: implemented built-in runtime functions and user-defined functions. (commit)
  • Episode 3: wrote a run script to conviniently execute programs in the X language. Implemented code blocks which are similar to anonymous function expressions in JS, and use that and a runtime $if function to implement conditionals instead of an if statement. (commit)
  • Episode 4: implemented array literals, each, map, filter and reduce functions and added parameters to code blocks. (commit)
  • Episode 5: implemented implicit returns and tags for collection types. (commit)
  • Episode 6: implemented dictionaries. (commit)
  • Episode 7: implemented proper if statements and talked about the dangling else problem. (commit)
  • Episode 8: code clean up, string runtime functions, fixed if statement bug, did a code challenge.(commit)

Project Dependencies

The project depends on this libraries:

Video Course

Also see my course How to Make a Programming Language for more detailed coverage of the topics encountered in this series.

Todos

  • index notation syntax

  • operators

  • classes

  • Unicode support (use different languages and emojis for var names)

  • Add enough feature to be able to solve some code challenges and do the word summary program

  • Clojure style protocols

  • FS support

  • DOM support

  • native if statement (done)

x-lang's People

Contributors

airportyh avatar

Stargazers

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