cDosato is the official implementation of the DOSATO programming language.
Note 0.7 is the final version for cDosato, a new implementation is being developed here
Dosato is a general purpose interpreted programming language that is designed to be simple and easy to use. It is a dynamically typed language that supports static typing as well.
The language is pretty simple and easy to learn. It is designed to be beginner friendly and is a great language to start with if you are new to programming.
Dosato allows for syntax that is easy and straightforward to understand and at the same time allows for complex and compact code.
Theres no wrong way to write dosato code, it allows nearly any style of programming.
Make sure you have gcc installed.
In the root directory of the project, run the following command to install the CDosato interpreter:
makeThis will create a dosato executable in the build directory of the project. You can run the interpreter using the following command:
./build/dosato -vThis will display the version of the interpreter.
To run a Dosato program, you can use the following command:
dosato <path-to-dosato-file>For example, to run the hello_world.to program, you can use the following command:
dosato hello_world.to(You can find the hello_world.to program in the demo directory of the project)
I have build a downloadable documentation for Dosato, you can download it here.
This documentation is also available online here.
If you want to see what you can do with dosato, check out the demos directory.
- hello_world.to
- A simple hello world program
- fizzbuzz.to
- A simple fizzbuzz program
- fib.to
- Fast and compact fibonacci function
- factorial.to
- Fast and compact factorial function
- prime.to
- Fast and compact isprime function
- oop.to
- A simple object oriented programming example
- life.to
- A simple game of life implementation
- life-compact.to
- A compact version of the game of life implementation
- tictac.to
- A simple console based tic tac toe game
- brainfck.to
- A brainfuck interpreter
Navigate to the tests directory and run runtests.to with Dosato
This language is still in its early stages of development, and I (Sebastiaan Heins) mainly work on it in my free time as a hobby project. I personally think Dosato has potential, but we are still a long (long) way from reaching that potential. If you would like to contribute to the project, you are more than welcome to do so. You can contribute by fixing bugs, adding new features, improving the documentation, or even just by giving feedback on the language. Any kind of contribution is appreciated.
I'm not that familiar with the open source community, so I'm not sure how to handle contributions. If you would like to contribute, please reach out. :p
This project is licensed under the MIT License - see the LICENSE file for details.
Since this language is currently being developed by me alone, you can contact me directly if you have any questions or feedback.
