Skip to content

Technologies

Jos Kuijpers edited this page Aug 25, 2013 · 1 revision

Sphere uses a number of technologies to build, analyze and optimize games. Using its plugin system, more technologies can be added.

Analyzer

Sphere analyses JavaScript code for syntax errors, programming errors and bad practices. Multiple packages implement this, but by default, Sphere uses JSLint. The plugin system allows for new analyzers.

All options are:

  • JSLint
  • JavaScriptLint

Optimizer

Sphere can optimize JavaScript code by removing unused code, inlining functions and minimizing files: removing comments, tabs, and newlines and shorting identifiers. The default optimizer is Google Closure. The plugin system allows for new optimizers.

All options are:

  • Google Closure

Indexer

Code indexing allows for easy code navigation. Index-information (can/is) also (be) used to find errors occurring when files are imported in other files. The plugin system allows for new indexers.

All options are:

  • Sphere Code Indexer
Clone this wiki locally