Skip to content
/ sslang Public

A simple programming language designed specifically for the Sega Saturn

Notifications You must be signed in to change notification settings

SethSR/sslang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Feature Overview

  • Simplified Rust-like syntax.
  • No semi-colons (may add later for clarity).
  • Syntax for variable, record, and function declarations (var, rec, fn).
  • Syntax for while loops.
  • Intrinsic (built-in) types specific to the Saturn.

Intrinsic Types

  • u8, u16, u32 -- unsigned 8, 16, and 32-bit integers.
  • s8, s16, s32 -- signed 8, 16, and 32-bit integers.
  • fw, fd -- signed, fixed-point, word (1-byte) and double-word (2-byte) decimals. The number of bits used for the integer value can be specified with an integer at the end of the type (ex: fw4 -- 4 integer bits, 12 decimal-bits; fd23 -- 23 integer bits, 9 decimal bits).

Planned Features

  • Syntactic sugar for for loops.
  • Compiler declaratives for targeting specific chips in the Saturn in the same code-base.
  • Generics / Higher-kinded types (potentially).

About

A simple programming language designed specifically for the Sega Saturn

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages