DEV Community

JA Proger
JA Proger

Posted on Edited on

StaLang Lesson No 2.1. Operators

THIS LESSON IS ACTIVELY BEING WRITTEN

Contents

Intro

Operators

Basic

Arithmetic

StaLang, as you know, is a DSL programming language designed for statistics, economics, AI learning, and other staff like that. Therefore I added operators, which can handles calculations related with this.

Operation Oper
Addition +
Subtraction -
Multiplication
Division
Power
Integer division
Rest of division
Modular inverse
Percentage
Derivative
Gradient

Binary

Basic Logic

Operation Oper
And &&
Or `
Not {% raw %}!
Xor `&
Bigger {% raw %}>
Less <
Equal ==
Not equal !=
Bigger or equal >=
Less of equal <=

Fuzzy Logic

Nil

Random

Type cast

String

List and Matrixes

Operation Operator
Append
Remove
Add
Subtraction
Multiplication

Abstract

Links

Top comments (0)