Skip to content

joshua-mo-143/piratelang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Piratelang - A language for those who sail the seven seas!

Piratelang is a dynamically-typed interpreted scripting language based on pirates.

This is primarily a hobby project, but with the eventual aim of being usable for more than hobbyist workloads.

Usage

To try out Piratelang, you can run the REPL in this repo (cargo run -p repl from the root folder). You can also look at the examples folder (within _examples) if you want to have a cursory look at what code currently looks like, as they are used for tests.

You can also try the CLI with cargo run -p piratelang-cli run <file-name>. Currently there's only one command to run a file, but if you don't want to use the REPL and want to run a file instead, the CLI is there!

Roadmap

  • Add basic type primitives
  • Declare variables
  • If statements
  • Mathematical operators
  • Functions
  • Chained functions
  • Add lists
  • Add structs
  • "Extends" syntax for adding chained methods to structs
  • File imports
  • Ability to use Rust functions under the hood for stdlib
  • Design a standard library
  • Write a standard library
  • Write a web server using Piratelang
  • (Github-based) Package management

About

A strongly-typed interpreted language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published