Giter Club home page Giter Club logo

javaish's Introduction

Javaish

Programming language made to resemble java, javascript, and english. Made for beginners to get into coding and learn how to think like a programmer. Not meant for professional use.

Features

Variables

Types
  • Integers (int)
  • Floats (float)
  • Strings (String)
  • Booleans (bool)
  • Lists
    • Integer Lists (int[])
    • Float Lists (float[])
    • String Lists (String[])
    • Boolean Lists (bool[])
Usage
  • Declare - let [type] [var] = [expression].
  • Assign - [var] = [expression].
  • Mutate(lists can only do add mutations) - add [expression] to [var] or subtract [expression] from [var] or divide/multiply [var] by [expression]
  • List Only Usages
    • RemoveAt = removeAt [listVar] sub [index]
    • Remove = remove [expression] from [listVar]
    • RemoveAll = removeAll [expression] from [listVar]

Functions

Built-in Functions
  • Print(Any Value) - print([expression]).
  • Show Message Box(String) - showMessageDialog([expression]).
  • Show Input Box(String) - showInputDialog([expression]).
  • To String(Any Value but string) - toString([expression]).
  • To Integer(Any Value but int) - toInt([expression]).
  • To Float(Any Value but float) - toFloat([expression]).
Declare and Call
  • Declare - function [name]([arguments]){}
  • Call - [name]([parameters]).

Operators

  • Equals - = or equals
  • Not Equal - != or not equals
  • Greater than - > or greater than
  • Less than - < or less than
  • Greater than or equal to - >= or Greater than or equal to
  • Less than or equal to - <= or Less than or equal to
  • Plus - + or plus
  • Minus - - or minus
  • Multiply - * or times
  • Divide - / or divide
  • And - && or and
  • Or - || or or

List Expressions

  • When using a list in an expression, the list can be the only element in the expression, you cant do any Operators to lists in Expressions
  • When creating a list, surround with brackets and enter each value followed by a comma and a space - ex. [2, 2, 3, 3]

javaish's People

Contributors

trackerjo avatar

Stargazers

 avatar

Watchers

 avatar

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.