# table-lang
table's Introduction
table's People
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 simple one-liner comments
Let's follow tradition here and use #
as symbol for starting a line comment.
# this is a comment
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
Support variable bindings
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.