Skip to content
/ lethe Public

a statically typed, unsafe scripting language

License

Unknown, Unknown licenses found

Licenses found

Unknown
license.txt
Unknown
copying.txt
Notifications You must be signed in to change notification settings

kmar/lethe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lethe

a statically typed, unsafe scripting language

note: experimental, work in progress, there will most likely be bugs => use at your own risk

  • requirements:

    • C++17 compiler
    • IEEE floating point
    • 2's complement integers
    • sizeof(bool) == 1
    • sizeof(char) == 1
    • sizeof(int) == 4
    • little endian CPU
    • script structs must be trivially movable (=no self-refs, implies no small buffer opts)
  • features:

    • unsafe
    • no user-defined conversions
    • no function overloads
    • no exceptions
    • no garbage collector (uses intrusive reference counting)
    • no REPL
    • no multi-threaded compilation of scripts
    • no bytecode serialization
    • optional dumb JIT for x86/x64
    • debugger - win64/linux/OSX - binary only
  • todo:

    • clean up/simplify/modernize
    • better documentation, more samples/libs

hello world (makes use of Terry A. Davis' (RIP) implied printf for expressions starting with a string literal):

		void main()
		{
			"Hello, world!\n";
		}

About

a statically typed, unsafe scripting language

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
license.txt
Unknown
copying.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages