Skip to content

Troxsoft/Jusk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A programing language that compile to c++

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages