Skip to content

Latest commit

 

History

65 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NOTE: This file needs a heavy overhaul and is almost definitely out dated

BLSL Basic Large-Sized Language

A basic scripting language with large (n byte sized) primitives for scientific computation / experimentation.

Build and Execution

Language Characteristics

  • N Sized primitive types for infinite precision / size of values.
  • Purely functional, no structures / classes. Supports conditionals, functions, loops.
  • Fully arena allocated for performance and simplicity
  • Variables store raw binary data. Operations determine how to interpret given bytes. For example: two binary variables can be added as if they're ints, in which case integer addition of the binary numbers occurs. Or, they can be added as strings, in which case the bytes are concatenated. They can be represented as any type for display too.

Implementation

  • Register VM with custom bytecode
  • Lexer-Parser-Compiler pipeline to convert textual code to bytecode through AST intermediate
  • Pure reference registers, which hold references to heap / stack
  • Constant Pool for literals, instructions do not support immediate values

About

A basic scripting language with large (n byte sized) primitives for scientific computation / experimentation.

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages