A coding solution for native Spanish speakers
Sí 2.0 is up and running! Translation to and from python is now available. Some things that are different about it:
si cpp testfile.si testfile.cpp
, whereas before it looked like si testfile.si testfile.cpp
It’s the same with python, by the way, you just need to replace cpp
with py
: si py testfile.si testfile.py
### A coding solution for native Spanish speakers
Sí is a pseudo-programming language that serves as a Spanish-based alternative to C++ and Python, so that Spanish speakers can write code using Spanish keywords that make more sense to them than English ones do. This is especially useful for Spanish-speaking students who are learning to code for the first time, allowing them to learn to write programs without having to first understand English.
In other words, code written using the Spanish keywords in Sí translates directly to C++ or Python code that can be compiled and run without ever having to look at English.
For example, a Hello World program in C++ would look like this:
```
#include
int main(void)
{
cout « “¡Hola, mundo!” « endl;
return 0;
}
would be written in Sí like this:
#incluir
int main(vacío) { ca « “¡Hola, mundo!” « terml; volver 0; } ```
make all
si <cpp or py> <sífile>.si <destination>.<cpp or py>
(or ./si
if
the executable isn’t in your path).<sífile>.<cpp or py>
will be created and w.make all
will also make an executable called is
, which is si
, but backwards. In other words, it translates C++ into Sí.si
command won’t translate anything in English to Spanish.qt
for quitar do the same thing as rm
)Any help at all with anything is more than welcome, so go ahead and fork and shoot a pull request - whatever you want! Alternately, if you’re lazy and just want to tell me something to do, hit me up here.