A simple and fun programming language.Get Started
Dinfio is a high-level, general-purpose, interpreted, minimalist, simple programming language. Dinfio design philosophy is "code simple, simple, and simple!". Here is an example of "Hello world" program in Dinfio:
start writeln("Hello world!") stop
Dinfio supports multiple paradigms, including procedural, object-oriented, and event-driven programming. Dinfio comes with great built-in modules, like Standard I/O, String manipulation functions, Mathematical functions, File system, and Graphical User Interface (GUI).
So, let's get started!
' My first program start for i, 1, 5 writeln("Hello, I'm Dinfio") endfor stop
> dinfio-console "D:\Hello.fio", and you'll see the greeting:
Hello, I'm Dinfio Hello, I'm Dinfio Hello, I'm Dinfio Hello, I'm Dinfio Hello, I'm Dinfio
Current Dinfio version: 2.0.14, current Dinfio IDE version: 2.0.97.
For this time, Dinfio only supports Windows operating system.
The Dinfio IDE[?] comes with many great Dinfio program examples. You can find them on
<Dinfio IDE installation path>\examples\ folder.
And here is an example of great GUI Programming in Dinfio with very simple code lines:
' GUI Programming import gui start create_gui() stop function create_gui() global gui_window @window global gui_label @label global gui_textbox @textbox global gui_button @button @window = @gui_window("Hello!", gui_window_sizable, 260, 130) @label = @gui_label("Your name: ", @window, 20, 20) @textbox = @gui_textbox("", @window, 100, 17) @button = @gui_button("OK", @window, 99, 50, 60) button.setdefault(true) button.addevent(gui_onclick, "button_click()") window.show() stop function button_click() messagebox(textbox.gettext()) stop
It's very simple, isn't it? You can even find more great and fun Dinfio program examples on the Dinfio Playground.
Dinfio IDE is the default Integrated Development Environment (IDE) for creating your Dinfio programs. You can directly run your programs using this IDE. Dinfio IDE comes with so many features, including Syntax highlighting, Auto completion, Code hint, Editor theming, and many more.
Here are some of Dinfio IDE screenshots:
Dinfio and Dinfio IDE are absolutely free, so anyone can use them without any cost. Dinfio and Dinfio IDE are licensed under Dafturn Free Software License (DFSL).