Skip to content

Robotnik08/cdosato

Repository files navigation

CDosato version 0.6.1

CDosato is the official implementation of the DOSATO programming language.

Table of Contents

Introduction

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.

Installation

Make sure you have gcc installed.
In the root directory of the project, run the following command to install the CDosato interpreter:

make

This will create a dosato executable in the build directory of the project. You can run the interpreter using the following command:

./build/dosato -v

This will display the version of the interpreter.

Usage

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)

Documentation

I have build a downloadable documentation for Dosato, you can download it here.
This documentation is also available online here.

Demo

If you want to see what you can do with dosato, check out the demos directory.

Testing

Navigate to the tests directory and run rununittests.bat (for windows) or rununittests.sh (for unix)

Contributing

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 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

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

Since this language is currently being developed by me alone, you can contact me directly if you have any questions or feedback.