scScript for Linux

OptionOfT1 pts0 comments

scApplications.com

Home

Online Manual

Downloads

Contact

scScript for Linux

scScript is a powerful but simple to use C-like scripting<br>language. It compiles to efficient bytecode (that it shows) and runs in<br>a fast virtual machine. scScript is integrated with scEmacs, a small<br>display editor for I/O.

Everything is written in C, runs on 64-bit Linux, is easy to<br>customize, port, extend, and embed!

Go to Online Manual for a complete guide,<br>or to see sample code (Intro 1).

Go to Downloads to get sources for scScript (and scEmacs).

The scScript language:

Has familiar C-like syntax and operators.

Provides simple pointer-less scripting with:

64-bit integer and double floats

Immutable UTF-8 text strings

Arrays that grow automatically

Dictionaries (flexible assoc lists)

External structures (3 flavors)

Nested function declarations and first-class closures

Variadic Pass-by-value and Pass-by-reference args

Subordinate scripts

Has stackful asym coroutines and non-local exits.

Compiles to optimized bytecode running in a small VM.

Can display line-by-line source AST and bytecodes.

Optimizes tail call recursion (no stack frame).

Uses Mark/Sweep GC as well as Ref Counting.

Provides a powerful (text) pattern matching system.

Readily interfaces to C routines for package libs.

Employs slab-based low-level memory management.

Only uses libx11 and libxft for scEmacs,

plus libffi for printf interface.

scEmacs is an integrated editor with:

Multiple buffers, panes, and windows,

Color source code display,

UTF-8 text, Undo, Kill Ring, and Mark list,

Incremental search, query replace, and auto completion,

Mouse-based ops, scrolling, and even Unix Sel insert,

Pop-up window/menu facility for enumeration/selection,

Specialized commands to drive scScript.

Copyright (C) 2026 Shawn Amir, All Rights Reserved.

scscript scemacs linux display text online

Related Articles