• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

source-academy / js-slang / 2399
77%

Build:
DEFAULT BRANCH: master
Ran 30 Mar 2020 07:41AM UTC
Jobs 1
Files 59
Run time 10s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2399

push

travis-ci

web-flow
 Concurrent VM Specification (#476)

* Translate compiler from Source to Typescript

* Add functions to compile and print to Source 3

Added methods to access compiler through `parse_and_compile` and
pretty_print the instructions through `print_compiled_program`. These
are temporary methods that will be removed in the future.

* Update snapshot

* Indicate unused code blocks

* Use window.console.log

* Add machine from lab

* Update snapshot

* Let VM run multiple times

* Refresh RTS on every run

* Introduce mutability to language

Introduce mutability to language. Index table is now a 2D Array of name,
isVar pairs, where isVar determines whether a name is mutable or not. To
support mutability across functions, when an environment is extended, it
maintains a reference to the parent's environment to allow it to modify
names in that environment.

* Add support for block environments

* Add support for If Statements

* Do not use window if running in node

* Return value for tests

* Refactor console.log calls

* Add Opcodes and basic util for SVML Compiler

* Allow localNames to traverse blocks

* Add variable renaming

* Update compile loop

* Add support for Source 1 to compiler

* Add debug util for svml-compiler

* Add README

* Describe mutex

* Fix rst

* Fix primitive calls

* Fix rst

* Fix BR argument

* Add support for While loop

* Add support for break and continue

* Add support for array literals

* Add support for array assignments

* Add support for calling primitive functions

* Add support for for loops and fix return

* Use display instead of console.log for print compiled program

* Copy old machine

* Fix bugs in compiler

* Disallow return in loops

* Use Source errors for const reassignment and undefined variable

* Update compile to use validator

* Replace all prints with return str

* Implement machine functions to match compiler opcode... (continued)

1234 of 1521 branches covered (81.13%)

Branch coverage included in aggregate %.

1597 of 1597 new or added lines in 7 files covered. (100.0%)

4001 of 4340 relevant lines covered (92.19%)

130035.29 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2399.1 30 Mar 2020 07:41AM UTC 0
89.32
Travis Job 2399.1
Source Files on build 2399
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2399
  • be5cbf91 on github
  • Prev Build on master (#2395)
  • Next Build on master (#2438)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc