Skip to content

jppan/jp--

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

this is jp--, a language built by me which may or may not end up being okay :/ now with the addition of an accomplishment tracker:

can parse values

binary expressions

order of operations

multiple datatypes

keyword support

binary operations

working interpreter

variables

also removed null type from frontend and made it in runtime

added boolean, but no operations yet

can assign values to variables and declare if they are constant or not

file execution

variable assignment

here is test.jp because there is no pseudocode in my language yet

let x = 5; //init x as 5 let y = 2; //init y as 2 let z; //init z as null const foo = 10; //make foo a constant let bar; //init bar as null

z = 8 - 4 * ( 3 + x ) / y //returns -8

bar = false //set bar, which was null, to false foo = 10 //try to set foo to 10, but returns an error

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published