Operator 0.1.7 0.1.5

Operator 0.1.7 0.1.5

– Freeware – Android
Dernière version
0.1.5
Coffre-fort à installer

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.

Vue d'ensemble

Operator 0.1.7 est un logiciel de Freeware dans la catégorie L'éducation développé par .

La dernière version de Operator 0.1.7 est 0.1.5, publié sur 11/09/2024. Au départ, il a été ajouté à notre base de données sur 11/09/2024.

Operator 0.1.7 s’exécute sur les systèmes d’exploitation suivants : Android.

Operator 0.1.7 n'a pas encore été évalué par nos utilisateurs.

Captures d'écran (Cliquez pour agrandir)

Secure téléchargements gratuits et vérifiés par UpdateStar

Restez à jour
avec UpdateStar freeware.

Derniers avis

iTop Screen Recorder iTop Screen Recorder
Capturez et enregistrez votre écran facilement avec iTop Screen Recorder !
Winxvideo AI Winxvideo AI
Améliorez votre vidéo avec la technologie AI à l’aide de Winxvideo AI
PrivaZer PrivaZer
Protégez votre vie privée avec PrivaZer !
Dell SupportAssist Dell SupportAssist
Solution de support technique efficace pour les utilisateurs Dell
HP EmailSMTP Plugin HP EmailSMTP Plugin
Rationalisez la fonctionnalité de messagerie avec le plug-in HP EmailSMTP
HP SharePoint Plugin HP SharePoint Plugin
Intégrez efficacement les périphériques HP à SharePoint à l’aide du plug-in HP SharePoint
UpdateStar Premium Edition UpdateStar Premium Edition
Garder votre logiciel à jour n’a jamais été aussi facile avec UpdateStar Premium Edition !
Microsoft Visual C++ 2015 Redistributable Package Microsoft Visual C++ 2015 Redistributable Package
Améliorez les performances de votre système avec le package redistribuable Microsoft Visual C++ 2015 !
Microsoft Edge Microsoft Edge
Un nouveau standard en matière de navigation sur le Web
Google Chrome Google Chrome
Navigateur Web rapide et polyvalent
Microsoft Visual C++ 2010 Redistributable Microsoft Visual C++ 2010 Redistributable
Composant essentiel pour l’exécution d’applications Visual C++
Microsoft Update Health Tools Microsoft Update Health Tools
Outils Microsoft Update Health : assurez-vous que votre système est toujours à jour !

Dernières Mises à Jour


IshaatulHadith: Zubair Alizai 3.0.8

This application is maintained by Muaz Bin Zubair, the son of Hafiz Zubair Alizai. ✅ Free from advertisements and promotional content, emphasizing simplicity, clarity, and ease of use. Operable offline for convenience.

Class 6 Social Guide in Hindi 25.3.1

This comprehensive guide provides detailed solutions and answers for Class 6 Social Science questions, tailored specifically for Hindi medium students.

WP Sportowe Fakty 1.1

The WP Sportowe Fakty application offers comprehensive information tailored for dedicated sports enthusiasts. ★Stay updated with LIVE reports from major sporting events.

Iyovia 1.16

IYOVIA is an interactive learning platform that offers comprehensive tools and resources aimed at supporting continuous personal development.

پښتو انګلیسي ژباړونکی 38.0

This application functions as a comprehensive English-Pashto translator, capable of translating from Pashto to English and vice versa.

EzChat - Easy to Chat 2.2

The wasapp.me application has undergone a rebranding, including a new name and logo, in response to trademark concerns. This innovative application offers an alternative method for initiating conversations without the necessity of saving …