A simple, fun, and powerful programming language.
Dinfio 3.1.03 is released. Download now!
Dinfio is a high-level, general-purpose, interpreted, minimalist, and simple programming language. Dinfio's design philosophy is "code simple!". Here is an example of "Hello world" program in Dinfio:
start writeln("Hello world!") stop
Dinfio supports multiple paradigms, including imperative, procedural, object-oriented, and event-driven programming. Dinfio comes with great built-in modules, like Standard I/O, String manipulation functions, Mathematical functions, Regular expression, File I/O, Graphical User Interface (GUI), HTTP requests, and JSON functions.
So, let's get started!
' My first program start for i, 1, 5 writeln("Hello, I'm Dinfio") endfor stop
.fioextension, for example save it as
greeting.fioon your home directory
dinfio greeting.fio. 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
Let's go download and install Dinfio! Select your operating system below and follow the instructions to download and install Dinfio
$ tar -xzf dinfio-3.1.03-linux-gtk3.tar.gz
dinfio-3.1.03-linux-gtk2.tar.gzinstead. And extract it:
$ tar -xzf dinfio-3.1.03-linux-gtk2.tar.gz
$ cd dinfio-3.1.03/
$ dinfio -v
dinfio-3.1.03-macos.pkg) and follow the wizard to install Dinfio
$ dinfio -v
dinfio-3.1.03-windows.exe) and follow the wizard to install Dinfio
Here is an example of beautiful GUI programming in Dinfio with very simple code lines:
' GUI Programming import gui start window = gui_window("Hello!", 260, 130) label = gui_label("Your name: ", window, 20, 20) textbox = gui_textbox("", window, 100, 17) button = gui_button("OK", window, 100, 56) button.addevent(event.click, 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 from the 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:
You can download the latest version of Dinfio IDE here:
Download Dinfio IDE
Current Dinfio IDE version: 3.0.22.
For this time, Dinfio IDE only supports Dinfio 3.0.12 and earlier versions.