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

eshamster / ps-experiment
98%
master: 98%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Repo Added 23 Dec 2016 03:49PM UTC
Files 6
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

LAST BUILD ON BRANCH feature/split-namespace
branch: feature/split-namespace
CHANGE BRANCH
x
Reset
  • feature/split-namespace
  • develop
  • feature/package-inferred-system
  • master
  • v0.1.0
  • v0.2.0

pending completion
41

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

Relevant lines Covered
Build:
Build:
633 RELEVANT LINES 621 COVERED LINES
0.98 HITS PER LINE
Source Files on feature/split-namespace
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
41 feature/split-namespace 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... push 17 Dec 2017 08:16AM UTC eshamster travis-ci pending completion  
40 feature/split-namespace 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... push 16 Dec 2017 06:09PM UTC eshamster travis-ci pending completion  
39 feature/split-namespace 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... push 15 Dec 2017 03:20PM UTC eshamster travis-ci pending completion  
38 feature/split-namespace 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... push 15 Dec 2017 03:04PM UTC eshamster travis-ci pending completion  
37 feature/split-namespace 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... push 15 Dec 2017 02:17PM UTC eshamster travis-ci pending completion  
36 feature/split-namespace 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... push 12 Dec 2017 01:49PM UTC eshamster travis-ci pending completion  
35 feature/split-namespace 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... push 11 Dec 2017 03:12PM UTC eshamster travis-ci pending completion  
34 feature/split-namespace 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... push 11 Dec 2017 02:14PM UTC eshamster travis-ci pending completion  
See All Builds (59)
  • Repo on GitHub
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