Skip to content

Latest commit

 

History

History
82 lines (78 loc) · 1.68 KB

README.md

File metadata and controls

82 lines (78 loc) · 1.68 KB

Jusk

A programing language that compile to c++ The language is missing many features

Example for hello world

@pkg main
@import "@console/console.jk"
pub fn main()Int{
   Console.println("Hello World")
}

jusk r hello_world.jk

How to install? (require go,g++ installed)

  • 1

git clone https://github.com/Troxsoft/Jusk.git
  • 2

go build jusk.go
  • 3 (optional)

Add to path

Progress

  • Boolean
  • Single line comment
  • Multi line comment

Message Errors

  • error with code
  • util info
  • show line of error
  • show package of error
  • show filename of error

Standart Jusk Library

  • Console ⬜⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛ 1%
  • Util ⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛ 0%
  • FS ⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛ 0%
  • Global functions ⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛⬛ 2% Example: toStr
  • declare function
  • call function

if

  • if
  • elif
  • else
  • import package
  • strings
  • numbers
  • using
  • [] for array
  • array parse
  • array declaration
  • declare package
  • type-check 80%

BinaryExpressions:

  • +
  • -
  • /
  • *
  • ==
  • !=
  • %
  • <
  • >
  • <=
  • >=
  • and
  • or

visibility

  • functions
  • global variables

C++

  • @cpp

Data types

Structs Progress:

⬜⬛⬛⬛⬛⬛⬛⬛⬛⬛ 2%

License: MIT