Operator 0.1.7 0.1.5

Operator 0.1.7 0.1.5

 ❘ Freeware
Android
Latest Version
0.1.5
Safe to install

A simple JavaScript transpiler program to code in a functional language similar to another famous functional programming language (starting with an H).

  • Each translation can be integrated into your web page via a single JavaScript script, provided you have also installed jqMath (jqMath)—with jQuery—and Numeric JavaScript (Numeric JavaScript).

Like H., Operator:

  • Is functional
  • Is a little verbose
  • Understands binary operations in infix notation

Unlike H., Operator:

  • Is not lazy by nature, but infinite structures (lists, trees, etc.) can be implemented
  • Is untyped
  • Doesn't understand sections with binary operators (you have to (\x->x+1) if you want to (+1)), but understands sections otherwise
  • Doesn't have a distinction between lower and upper cases
  • Doesn't assume any priority for binary operations
  • Doesn't accept ' (simple quote) as a valid syntactic symbol
  • Is at a very early stage

Regarding purity, Operator mostly works with immutable variables and structures, but occasionally (after the interact keyword), some states can be modified (e.g., content of an HTML document, see Demos).

Primitive Built-Ins:

Only these JavaScript operators are kept literally: +, -, *, /, %, ==, <, >, substring, length. They are now considered functions of two arguments (except unary length and ternary substring).

The get method has been replaced with the ! function. For example: var val = obj['black'] + xs[0]; becomes val = (obj!"black") + (xs!0).

A JavaScript Array is called a List in Operator. For example: var xs = [1,2]; becomes xs = List () 1 2 ().

A JavaScript Object is called a Map in Operator. For example: var obj = {'red':0,'black':1}; becomes obj = Map () "red" 0 "black" 1 ().

These are designed to be immutable and as functions, the following is valid:

    1. beg = List () 1 2 3
      next = beg 4 5
      xs = next 6 ()

The last () signifies the end of the structure (while the first one creates a new instance). It would be unwise to define ys = next 7 () due to the order in which xs and ys are processed potentially affecting the result of xs!5 (yielding either 6 or 7). Instead, define a new immutable List: ys = List () 1 2 3 4 5 7 ().

Several useful document manipulation functions are available as well: :=, :: = , newline, value, math, input, button, interact (see Demos).

Several useful general functions are also available: hex2char, dec2hex, hex2dec.

The other JavaScript components can be accessed by the javascript keyword.

That's all for the primitive built-ins!

Foreign Built-Ins:

      1. Foreign JavaScript:

Operator only recognizes a minimal set of primitive keywords and operators, but all JavaScript functions can be accessed with the javascript keyword.

Eg:

sqrt x = javascript (("Math.sqrt("+x) + ")")

or, better,
sqrt = javascript "var fun=function(x){return Math.sqrt(x);};fun"
or simply
sqrt = javascript "Math.sqrt"

      1. Foreign jqMath:

If the result of a computation conforms to the jqMath format (jqMath format), it will be displayed as a mathematical formula. For example:

main = "$355/113$"
would display a fraction on the screen and on your web page if you install the script (sent by the "Send JavaScript" menu) and the jqMath script.

      1. Foreign Numeric JavaScript:

All the numericjs functions (numericjs functions) can be utilized. For example:

m = List () row1 row2 ()
row1 = List () 2 5 ()
row2 = List ()6 3()
determinant = javascript "numeric.det"
Main=determinant m
would return -24.
Note that there are no shortcuts (as in sqrt above) for defining numeric functions with two or more variables.
Eg: main = determinant(product m m)
You should define:
Eg:
A) product=javascript "var fun=function(x){return function(y){return numeric.dot(x,y);};};fun"
To get -576.

Overview

Operator 0.1.7 is a Freeware software in the category Education developed by .

The latest version of Operator 0.1.7 is 0.1.5, released on 09/11/2024. It was initially added to our database on 09/11/2024.

Operator 0.1.7 runs on the following operating systems: Android.

Operator 0.1.7 has not been rated by our users yet.

Screenshots (Click to view larger)

Secure and free downloads checked by UpdateStar

Stay up-to-date
with UpdateStar freeware.

Latest Reviews

7-PDF PDF to Word Converter 7-PDF PDF to Word Converter
Transform Your PDFs with Ease Using 7-PDF PDF to Word Converter
Wireless Network Watcher Wireless Network Watcher
Monitor Your Wireless Network Activity with Ease
4k Video Downloader 4k Video Downloader
Effortlessly download high-quality videos with 4k Video Downloader.
C Classic Paint for Windows
Classic Paint Reimagined for Modern Windows
Ashampoo Money Ashampoo Money
Track Your Finances Easily with Ashampoo Money
C CD-Runner 2013.00
CD-Runner 2013.00: Your Go-To Solution for Seamless CD Management
UpdateStar Premium Edition UpdateStar Premium Edition
Keeping Your Software Updated Has Never Been Easier with UpdateStar Premium Edition!
Microsoft Edge Microsoft Edge
A New Standard in Web Browsing
Microsoft Visual C++ 2015 Redistributable Package Microsoft Visual C++ 2015 Redistributable Package
Boost your system performance with Microsoft Visual C++ 2015 Redistributable Package!
Google Chrome Google Chrome
Fast and Versatile Web Browser
Microsoft Visual C++ 2010 Redistributable Microsoft Visual C++ 2010 Redistributable
Essential Component for Running Visual C++ Applications
Microsoft Update Health Tools Microsoft Update Health Tools
Microsoft Update Health Tools: Ensure Your System is Always Up-to-Date!

Latest Updates


Synthesizer Pro 1.0

'Synthesizer Pro' represents a comprehensive digital instrument designed to cater to both amateur enthusiasts and seasoned professional musicians.

BT Baseball Camera 1023

The BT Baseball Camera offers a comprehensive solution for recording baseball games with advanced features such as score overlay, bases, innings, strike count, and ball count, all integrated seamlessly within the application.

SiFi - Simplified Finance 2.0.3

SiFi presents a comprehensive expense management platform tailored for the MENA region, designed to enhance financial oversight, control, and operational efficiency for organizations.

Move it! 3D Gravity Toys 1.2.4

Experience an innovative application that brings 3D objects, characters, and water effects vividly to your mobile device screen, offering an engaging and dynamic user experience.

Snail AI Translate -Text Voice v1.1.9

Why consider Snail AI Translate? Practical translation modes include text recognition and translation, online image analysis, and real-time dialogue interpretation, effectively covering diverse scenarios such as education, travel, and …

BODYWRK 6.0.2

Welcome to BODY • WRK, a comprehensive fitness facility dedicated to integrating physical strength and mental resilience within a thoughtfully designed environment.