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

source-academy / js-slang / 2793
77%

Build:
DEFAULT BRANCH: master
Ran 10 Apr 2020 12:09PM UTC
Jobs 1
Files 65
Run time 9s
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
2793

push

travis-ci

web-flow
[WIP] Type Inferencing for up to Source 2 (#495)

* Allow source file to be passed to repl

* added initial code for typechecker

* added support for typing variable expressions

* added basic functionality for type inference

* check in change to index.ts

* removed console logs

* commented out code

* added support for multiple statements and block statements

* added support for more statements and functions with arbitary args

* Binary expression (#1)

* add support for binary expressions and simple test cases

* remove calls to typechecker in index, fix linting issues

* Function declaration (#2)

* added support for function decl

* added linting changes

* made NaN, undefined and Infinity work

* added more tests

* added more tests

* added support for unary fns

* update linting

* removed console logs

* tidy up test cases and add conditional statements

* add predefined functions

* Polytypes (#6)

* first attempt at annotated AST

* fix inferred function types not being saved in function declarations

* annyoing precommit changes

* undo pre hook changes

* rmeove yarn tslint --fix as it was removing object literal quotes

* added integers and added more type checking support for binary expressions

* added support for polymorphic types

* commented unused code

* added more type checking for polytypes and cleaned up tests

* fixed linting

Co-authored-by: Raynold Ng <raynold.ng24@gmail.com>

* Node preprocessing (#7)

* undo generation of AST

* first attempt at hoisting const and function declarations

* commented out most of the old code

* updated tests

* added support for up to function app

* linting

* added most of the remaining cases

* wrap program around block statement and save infer types in AST

* add support for pairs

* follow spec by changing float to number and changing func signatures

* linting

* added unary negative operato... (continued)

1577 of 1947 branches covered (81.0%)

Branch coverage included in aggregate %.

385 of 385 new or added lines in 3 files covered. (100.0%)

4715 of 5120 relevant lines covered (92.09%)

213724.01 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2793.1 10 Apr 2020 12:09PM UTC 0
89.03
Travis Job 2793.1
Source Files on build 2793
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2793
  • 56b3ac16 on github
  • Prev Build on master (#2787)
  • Next Build on master (#2798)
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