This is a programming lenguage inspired in javascript, python and golang, the goal is to create a programming lenguage in spanish that helps people that are begining in software development or computer science, probiding a high level programming lenguage in spanish that is very simple to use. Also is an expressions based lenguage so is more easy to work with it
It is an interpreted language fully built using Go standar libreary.
// insertion sort implementation in aura
funcion insertion_sort(elements) {
por(i en rango(1, largo(elements))) {
anchor := elements[i];
j := i - 1;
mientras(j >= 0 && anchor < elements[j]) {
elements[j + 1] = elements[j];
j--;
}
elements[j + 1] = anchor;
}
escribirF("Array ordernado {}", elements)
}
funcion main() {
tests := lista[
lista[11,9,29,7,2,15,28],
lista[3, 7, 9, 11],
lista[25, 22, 21, 10],
lista[29, 15, 28]
];
tests:porCada(|test| => insertion_sort(test));
}
-
- on linux
mv aura /path/to/your/install/directory
- on windows
move C:\path\to\your\install\directory
-
- on linux:
export PATH=$PATH:/path/to/your/install/directory
- on windows:
set PATH=%PATH%;C:\path\to\your\install\directory
$ aura
Is important to have the .aura extension otherwise the lenguage wont read the file
$ aura file.aura
Should you like to provide any feedback, please open up an Issue, I appreciate feedback and comments, although please keep in mind the project is incomplete, and I'm doing my best to keep it up to date.