Giter Club home page Giter Club logo

table's Introduction

# table-lang

table's People

Contributors

yufengwng avatar

Watchers

 avatar

table's Issues

Support calling functions

Don't necessarily need to support defining functions, but we need to be able to call functions. This will require refactoring the VM to support call frames and switching between frames.

Support calling native print function

Rather than waiting for full support of calling functions in #5, we'll add minimal support of handling call expressions and hook in a native print function for printing out values. Let's start with a println function that adds a newline at the end of the print.

Figure out how to organize tests

For unit tests, each component should at least have one test per execution path.

For integration tests, ideally it should be a suite of script files so that it is agnostic to actual implementation and the suite can be ran against different binaries.

Add `run` subcommand for running scripts

Eventually, the lt binary will be the single entry-point that end-users interact with. It will have various subcommands, so add one for running a script file. The following syntax will be good:

$ lt run <FILE>

where FILE is the path to a .lt script. It will also be nice to follow convention established by other languages, where you can simply pass the script name, e.g. like in python:

$ python foo.py

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.