ShenScript Logo
latest

Introduction

  • Motivation
  • Prior Art
  • Encoding of Semantics
  • Generation of Syntax
  • Future Design Options
  • Historical and Abandoned Design

Walkthrough and API Docs

  • Building an Environment
  • The Kernel Sandwich
  • Interop from JavaScript to Shen
  • Interop from Shen to JavaScript
  • Accessing ShenScript Internals from JavaScript
  • Accessing ShenScript Internals from Shen

Appendix

  • Index
ShenScript
  • Docs »
  • ShenScript
  • Edit on GitHub

ShenScriptΒΆ

An implementation of the Shen Language by Mark Tarver for JavaScript. Built for modern browsers and recent versions of Node, requiring the latest features of the ECMAScript standard.

Introduction

  • Motivation
  • Prior Art
    • shen-js
    • shen-cl
  • Encoding of Semantics
    • Data Types
    • Special Forms
    • Shen Booleans vs JavaScript Booleans
    • Equality
    • Partial Function Application
    • Tail-Call Optimization
  • Generation of Syntax
    • Generating JavaScript
    • Hoisting Globals and Idle Symbols
    • Fabrications
    • Escaping Special Variable Names
    • Dynamic Type-Checking
    • Code Inlining and Optimisation
    • Pervasive Asynchronocity
  • Future Design Options
    • Polychronous Functions
    • KLambda-Expression Interpreter
    • Expression Type Tracking
  • Historical and Abandoned Design
    • String Concatenation
    • Using Fabrications for Statement-oriented Syntax

Walkthrough and API Docs

  • Building an Environment
  • The Kernel Sandwich
    • The Backend
    • The Kernel
    • The Frontend
  • Interop from JavaScript to Shen
    • Exported Functions
  • Interop from Shen to JavaScript
    • Raw Operators
    • Typed Operators
    • Typed Standard Functions
    • JSON Functions
    • Object Construction, Member Access
    • Recognisor Functions
    • Global Classes, Objects and Values
    • Web-specific Interop
    • Node-specific Interop
  • Accessing ShenScript Internals from JavaScript
    • Data
    • Classes
    • Functions
  • Accessing ShenScript Internals from Shen
    • Functions
    • AST Construction Functions
    • AST Evaluation Functions

Appendix

  • Index
Next

© Copyright 2019, Robert Koeninger Revision 98a0343d.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
stable
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.