Coder Social home page Coder Social logo

robusta's Introduction

upec

Open Source Love License: MIT CircleCI

Welcome to Robusta

Robusta is a basic programming language based on java, it was designed for learning the basics of software programming without the hasle of the advanced principles and hard configurations.

Robusta needs the two following dependecies in order to work properly:

Installation :

1 - JDK :

Make sure that you have a recent jdk version installed in your computer :

javac -version
javac 11.0.2

⭐ The version here is 11.0.2 which is greater than v8 👍

2 - Download robusta.jar :

3 - VSCODE :

  • Download the latest version of VSCODE and install it.

4 - Download the robusta extension for vscode :

5 - VSCODE Settings :

  • Set the absolute path to the robusta.jar archive in vscode settings (VSCODE > Settings > Extensions > Robusta).

⭐ Happy programming ⭐

Contibuting :

We welcome all kinds of contributions, please feel free to contribute here.

Licence :

MIT

robusta's People

Contributors

dependabot[bot] avatar frenchtechlead avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

waliding

robusta's Issues

Better handle Runtime Errors

quand je fait readInteger, et je met un String quelconque (ce qui fait
erreur), le message d'erreur signale la ligne du fichier traduit, et non
pas la ligne du fichier jvs.

  • Daniele.

Implémenter le macros Drawer

En s'inspirant de la classe org.robusta.macros.Console
écrire une nouvelle classe Drawer qui contient les fonctions statiques suivantes :


public static void reset(int width, int height);
Screenshot 2019-12-25 at 22 10 27

  • Permet d'afficher une nouvelle fenêtre de dessin de taille ( (width x 2) - ((height x 2)), CF capture ci-dessus.

public static int getWidth();
public static int getHeight();
  • renvoient la largeur (width) et hauteur (height) de la fenêtre de dessin.

public static void setPixel(int x, int y, String color);
Pour définir un point de couleur dans la fenêtre de dessin.

  • où x est un int, entre [-width, +width], abscisse du point;
  • où y est un int, entre [-height, +height], ordonnée du point;
  • où color est un String qui donne la couleur du point, ses valeurs étant "black", "blue", "cyan", "gray", "green", "magenta", "orange", "pink", "red", "white", "yellow".

public static int getPixel(int x, int y);
public static void setPixel(int x, int y, int value);

Pour définir lire/écrire un point monochrome les fonctions setPixel/getPixel:

  • où x est un int, entre [-width, +width], abscisse du point;
  • où y est un int, entre [-height, +height], ordonnée du point;
  • où value est un entier entre 0 (pour le "black") et 255 (pour le "white"), toutes les valeurs entre 0 et 255 définissant les valeurs de gris,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.