
Download

kuin_2021_09_17_en.zip

kuin_2021_09_17_en.zip
To know the updates, please visit Update History Of Kuin. For non-Windows environments such as Ubuntu and macOS, you can use the compiler by compiling the Kuin Source Code. There is also Kuin To Compile On A Web Browser
Once you have Kuin, follow Kuin Tutorial to get started.


0.1Features Of Kuin
Kuin is an easy and fast practical programming language. Its features are as follows.

Kuin can output not only executable files (exe) for Windows, but also C++ and JavaScript source codes, which can be run in various environments.
Practical
- It makes it easy to create 2D and 3D games, tools, and command line programs.
- It can generate not only executable files (exe), but also C++ that runs on various platforms, and JavaScript source code that runs on web browsers.
- The Kuin compiler itself and the Kuin editor are also made with Kuin. In other words, it has been proven that practical applications can be made with it.
Easy
- It is highly functional, yet simple in design, with no extra complexity.
- It supports 2D and 3D graphics rendering and sound playback as standard.
- It is an object-oriented language that increases the efficiency of program development.
- It is equipped with garbage collection, which eliminates the need to manually release memory areas.
- It supports string types, lists, stacks, queues, dictionary types, etc. at the language level.
- It also supports other useful functions as standard as possible.
- It will automatically generate a "Hello, world!" program if you don't write any program.
Fast
- It is extremely fast to compile and does not lose time with every modification.
- It can generate CPU-native machine language without a virtual machine, so it is fast to execute.
- It can use the GPU for screen rendering, so 2D and 3D graphics rendering is also fast.
0.2Sample
As an example, a program to find prime numbers less than or equal to 100 is shown below.
- func main()
- for i(2, 100)
- var b: bool :: false
-
- for j(2, i - 1)
- if(i % j = 0)
- do b :: true
- end if
- end for
-
- if(!b)
- do cui@print("\{i}\n")
- end if
- end for
- end func
Kuin has a standard function to quickly determine if a number is prime or not, so you can use it to write the following.
- func main()
- for i(2, 100)
- if(math@prime(i))
- do cui@print("\{i}\n")
- end if
- end for
- end func
0.3Tutorial
Once you have Kuin, follow Kuin Tutorial to get started.