"烬" in Chinese, from the game League of Legends
Jhin is a simple Strong Static typed programming language
-- This is a comment
def functionName(num: Int, pi: Float): Int -- function definition
{
count: Int <- 7
while (count <= 10)
{
printf(count) -- link to C lib
count <- count + 1
}
if (3.14 == pi)
{
num
}
count
}
def main(): Int
{
functionName(12, 2.18)
0
}./jhin example.jn
./output
./jhini example.jn
Waiting for the code
Project built in C++17
dependency:
Python3matplotlib
How to deploy:
- Building Clang and Working with the Code
- go to llvm-project/llvm/examples/Kaleidoscope and add
add_subdirectory(jhin)to CMakeLists.txt git submodule add https://<token>@github.com/elfcoda/jhin.git jhin
You should create a personal access<token>to use in place of a password with the command line or with the API.
how to get your token
Now you are starving right?
