CG/JS Releases

Table of Contents

Introduction

CG/JS is a release of the next version of Common Graphics and the IDE on Allegro Common Lisp 10.1. It allows running Common Graphics applications, including our IDE, in a web browser. It is called CG/JS to distinguish it from CG/GTK and CG/WIN, the versions of Common Graphics that use the GTK or Windows backends. CG/JS is targeted at all major, modern web browsers, including Chrome, Firefox and Safari, as well as any Chromium-based browser such as Edge.

We have been developing this version for a couple of years, and Gruff, the visualization tool for AllegroGraph, has been using CG/JS for more than a year. Also, the IDE is entirely written in Common Graphics and the initial release below fully supports the IDE.

When installed, the releases below will live alongside the original version of CG and the IDE. You can easily roll back (rebuild images to use the original version of CG and the IDE) if you find your application does not function properly with CG/JS. We are committed to making the new release of CG compatible with the existing release.

Documentation

Our preliminary documentation will be updated frequently, and eventually become part of our regular documentation.

Pre-Installation on macOS

There are two things you must do on macOS to ensure CG/JS works:

Pre-Installation on Windows

CG/JS requires OpenSSL because lisp communicates with the web browser via the WebSocket protocol, which requires SSL. It is also needed during this installation. We provide a build of OpenSSL, if you do not have one. See readme.txt and our installation guide for more information.

Pre-Installation on all platforms

It is very important to update your Allegro CL with the latest patches, before you install and use CG/JS.

Downloads

The installation instructions are included in the downloads below in a file called readme-cgjs.txt.

See the Release notes for details on what has changed between releases.

FAQ