neowaylabs / abad Goto Github PK
View Code? Open in Web Editor NEWhere goes nothing
License: MIT License
here goes nothing
License: MIT License
Make this work:
console.log("hi", true, false)
Main parsing issue. Requires the checks below:
Make these work properly:
var a = func();
var b = x.b;
var c = x.b.c();
Should work:
console.log(undefined);
console.log(null);
console.log(false);
console.log(true);
Add coverage on Makefile + on codecov.io
This is just partially implemented and does not work with identifiers. Make this work:
var a = 5,
b = a,
c = 666;
By a limitation the following code does not work:
var a = 5;
var b = a;
Make it work =)
We need a test bed (or test fixture, whatever) that makes it very easy to compare our interpreter with the results of google's V8. This includes a dev environment that makes this easy + a Go testing API that helps writing this kind of tests (given a code runs on both envs and compare the outputs). Like:
awesometesting.Run(t, "description", "someCode", "expectedOutput")
That automatically runs on our engine and compares with the v8 engine.
Some V8 stuff that can be useful:
https://github.com/v8/v8/wiki/Getting%20Started%20with%20Embedding
https://developer.mozilla.org/en-US/docs/Web/API/console#Outputting_text_to_the_console
console.log("format %s %d", "hi", 5)
should work
The following should work:
console.log(1)
console.log(2);
console.log(3);console.log(4)
Not sure yet where the support is missing, but console.log("hi")
should work and today it gives a "hi not expected" error.
This is important to support multiple expressions/statements on the code. It is related to #23
Source of pain:
Make this work:
var a;
console.log(a);
var a = 5;
console.log(a);
For all supported basic types
The following should work:
console.log(1);
console.log(2);
console.log(3);console.log(4);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.