Skip to content

Scripting language that runs on top of the JVM

Notifications You must be signed in to change notification settings

cmrevoredo/hashlanguage

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hash Programming Language

Scripting language for the JVM with the following characteristics:
  • C style syntax
  • Semicolons or linefeeds can be used to terminate statements
  • Variables don't need to be declared
  • All operators are overloadable
  • Dynamic typing
  • No reflection/invokedynamic is used for interfacing with java code. Instead of reflection, 'Bridge classes' are generated at runtime that will acomplish the job much faster.
  • Classes/functions are objects
  • Classes can easily be created/modified at runtime allowing easy meta-programming
  • Coroutines(implemented using generators and trampoline objects)
  • Simple REPL interpreter
Configuration for eclipse development(need to have the ANTLRIDE plugin installed/configured):
mvn eclipse:configure-workspace -Declipse.workspace=<path to your workspace>
mvn eclipse:eclipse # (Creates eclipse project)
Using the REPL interpreter:
mvn test -Prepl
Todo:
  • Compile to JVM bytecode(for now a very simple vm is used for interpreting an internal format)
  • Allow java to invoke hash code

About

Scripting language that runs on top of the JVM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published