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

source-academy / js-slang / 12154144569
77%

Build:
DEFAULT BRANCH: master
Ran 04 Dec 2024 06:26AM UTC
Jobs 1
Files 153
Run time 1min
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

04 Dec 2024 06:18AM UTC coverage: 81.654% (+0.04%) from 81.61%
12154144569

push

github

web-flow
Implement the CSET machine, along with macros (#1728)

* add prelimiary framework for macro system

* Allow Scheme data types as part of control

* add functionality to scheme eval metaprocedure

* update macro skeleton

* add pattern matching system prototype

* complete first iteration of pattern matching functions

* finish first implementation of pattern matcher

* update tests for call/cc

* complete CSEP machine behaviour for standard syntax forms

* add tags to modified estree nodes, and deparser

* fix pattern matching logic

* allow let, cond, etc... to be defined in the prelude

* allow runtime checks for basic forms

* remove hack of storing scheme lists in estree nodes

* fix behaviour of ... in macros

* fix tests with scheme

* undo fix tests with scheme

* reduce strictness of scm-slang parser for FULL_SCHEME

* add more error-checking for CSEP machine

* add tests for CSEP machine and macros

* rename csep machine to cset machine

* implement the macro environment

* improve behaviour of CSET machine

* fix formatting issues

* Clean up helper functions

* create apply metaprocedure

* add tests for base cset machine and apply

* add named let to scheme prelude

---------

Co-authored-by: Kyriel Abad <e0969219@u.nus.edu>

3654 of 4864 branches covered (75.12%)

Branch coverage included in aggregate %.

491 of 596 new or added lines in 11 files covered. (82.38%)

1 existing line in 1 file now uncovered.

11474 of 13663 relevant lines covered (83.98%)

145117.68 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
96.4
-0.15% src/createContext.ts
1
91.65
0.69% src/cse-machine/utils.ts
3
90.63
-9.38% src/cse-machine/continuations.ts
3
94.66
0.79% src/cse-machine/interpreter.ts
7
84.0
src/cse-machine/macro-utils.ts
10
93.7
src/cse-machine/scheme-macros.ts
80
64.84
src/cse-machine/patterns.ts

Uncovered Existing Lines

Lines Coverage ∆ File
1
91.65
0.69% src/cse-machine/utils.ts
Jobs
ID Job ID Ran Files Coverage
1 12154144569.1 04 Dec 2024 06:26AM UTC 153
81.65
GitHub Action Run
Source Files on build 12154144569
  • Tree
  • List 153
  • Changed 145
  • Source Changed 0
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 61199f78 on github
  • Prev Build on master (#11907028652)
  • Next Build on master (#12903247475)
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