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

eshamster / ps-experiment / 40 / 1
98%
master: 98%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 16 Dec 2017 06:09PM UTC
Files 6
Run time 0s
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

16 Dec 2017 06:04PM UTC coverage: 98.104%. Remained the same
LISP=sbcl-bin/1.3.12 COVERALLS=true

push

travis-ci

eshamster
Change to split namespace by package

Previously, Common Lisp pacage is used only for grouping variables and
functions. Then, when they are output as JavaScript code, the
namespace is not split.

This commit introduces namespace also in JavaScript code by using
closure. But some (dirty) hacks were required.

First, to refer un-exported symbols, each package has a "_internal"
member, then internal symbols can be referred as
"<package>._internal.<symbol>". In addition, to identify un-imported
symbol, ps:symbol-to-js-string is overwritten.

Second, to send type-specifier to other package, quote is removed if
it is attached to a type-specifier symbol. In Common Lisp,
type-specifier can be specified using symbol, but it is converted to
just a string by Parenscript. In other words, the information of
package is lost. So in other package, we can no longer extract the
type. To achieve this, "quote" in Parenscript is overwritten.

Note: Variable, function and type-specfier are in a same namespace in
a package unlike Common Lisp namespace.

Note: Parenscript has a namespace system. It splits namespaces by
adding prefix to all symbols in the package. But I wanted to achieve
more Common Lisp like one that has symbol importing and exporting.

621 of 633 relevant lines covered (98.1%)

0.98 hits per line

Source Files on job 40.1 (LISP=sbcl-bin/1.3.12 COVERALLS=true)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 40
  • Travis Job 40.1
  • d1a84c45 on github
  • Prev Job for LISP=sbcl-bin/1.3.12 COVERALLS=true on feature/split-namespace (#39.1)
  • Next Job for LISP=sbcl-bin/1.3.12 COVERALLS=true on feature/split-namespace (#41.1)
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

© 2026 Coveralls, Inc