scApplications.com

✨ Read this trending post from Hacker News πŸ“–

πŸ“‚ **Category**:

πŸ“Œ **What You’ll Learn**:

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

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

Go to Online Manual for a complete guide,
or to see sample code (Intro 1).
Go to Downloads to get sources for scScript (and scEmacs).


Links for online manual, downloads, and contact.

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.

πŸ”₯ **What’s your take?**
Share your thoughts in the comments below!

#️⃣ **#scApplications.com**

πŸ•’ **Posted on**: 1787011210

🌟 **Want more?** Click here for more info! 🌟

By

Leave a Reply

Your email address will not be published. Required fields are marked *