Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-develop committed Jul 27, 2024
1 parent fd36b17 commit 11fcd27
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 18 deletions.
34 changes: 25 additions & 9 deletions README.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,21 @@ Voici Nougaro version `1.0.0`.

Nougaro est un langage de programmation, interprété en Python.

## Modules tiers (optionnels)

Modules pas toujours fournis avec Python :

* `colorama` (`pip install colorama`)

Sous GNU/Linux, pour permetter de naviguer dans l’historique des commandes en utilisant les flèches du clavier :

* `readline` (`pip install readline`)
C’est un langage multi-paradigmes qui supporte la programmation impérative, fonctionelle, et orientée-objet.

Nougaro est faiblement typé. Sa syntaxe est inspirée de celles de Python et de Basic.

## Exemple
```nougaro
def fizzbuzz(n)
for i = 0 to n then
if i%15 == 0 then print("FizzBuzz") \
elif i%3 == 0 then print("Fizz") \
elif i%5 == 0 then print("Buzz") \
else print(i)
end
end
```

## Exécuter

Expand All @@ -27,6 +33,16 @@ Voici Nougaro version `1.0.0`.

Prend en charge Python 3.11 et 3.12.

### Modules tiers (optionnels)

Modules pas toujours fournis avec Python :

* `colorama` (`pip install colorama`)

Sous GNU/Linux, pour permetter de naviguer dans l’historique des commandes en utilisant les flèches du clavier :

* `readline` (`pip install readline`)

## Documentation

La documentation est disponible [ici](https://nougaro.github.io/documentation) (en anglais uniquement).
Expand Down
34 changes: 25 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,21 @@ This is Nougaro version `1.0.0`.

Nougaro is a programming language interpreted in Python.

## Third-party modules (optional)

Python builtins that are not always builtin:

* `colorama` (`pip install colorama`)

Under GNU/Linux, to allow browsing command history with the arrow keys:

* `readline` (`pip install readline`)
It is a multi-paradigm programming language and supports imperative, functional and object-oriented programming.

Nougaro is weakly typed. Its syntax is inspired from Python and Basic.

## Example
```nougaro
def fizzbuzz(n)
for i = 0 to n then
if i%15 == 0 then print("FizzBuzz") \
elif i%3 == 0 then print("Fizz") \
elif i%5 == 0 then print("Buzz") \
else print(i)
end
end
```

## Run

Expand All @@ -27,6 +33,16 @@ Nougaro is a programming language interpreted in Python.

Supports Python 3.11 and 3.12.

### Third-party modules (optional)

Python builtins that are not always builtin:

* `colorama` (`pip install colorama`)

Under GNU/Linux, to allow browsing command history with the arrow keys:

* `readline` (`pip install readline`)

## Documentation

The documentation is available [here](https://nougaro.github.io/documentation).
Expand Down

0 comments on commit 11fcd27

Please sign in to comment.