Operator 0.1.7 0.1.5

Operator 0.1.7 0.1.5

 ❘ Ingyenes szoftver
Android
Legújabb verzió
0.1.5
Biztonságos telepítése

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.

– Áttekintés

Operator 0.1.7 Ingyenes szoftver szoftvere a kategória Oktatás fejlett mellett -ban.

A legutolsó változat-ból Operator 0.1.7 a(z) 0.1.5, 2024. 09. 11. megjelent. Kezdetben volt hozzá, hogy az adatbázisunkban a 2024. 09. 11..

a(z) Operator 0.1.7 a következő operációs rendszereken fut: Android.

Operator 0.1.7 nem volt eddig a felhasználók még.

Pillanatképek (kattintson nagyobb képért)

UpdateStar által ellenőrzött biztonságos és ingyenes letöltések

Legyen naprakész
az ingyenes UpdateStar-ral.

Legutóbbi visszajelzések

UltraISO UltraISO
Hatékony ISO-kezelő eszköz minden lemezkép-igényhez
Telegram Desktop Telegram Desktop
Biztonságos üzenetküldés és fájlmegosztás a Telegram Desktop segítségével.
EASEUS Partition Master Home Edition EASEUS Partition Master Home Edition
EASEUS Partition Master Home Edition: Hatékony partíciókezelő szoftver
UltraViewer UltraViewer
Hatékony távoli asztali szoftver a zökkenőmentes együttműködéshez
Software Informer Software Informer
Legyen tájékozott a Software Informer segítségével
UzCrypto UzCrypto
Biztonságos kriptopénztárca és portfóliókezelő alkalmazás
UpdateStar Premium Edition UpdateStar Premium Edition
A szoftver naprakészen tartása még soha nem volt ilyen egyszerű az UpdateStar Premium Edition segítségével!
Microsoft Edge Microsoft Edge
Új szabvány a webböngészésben
Google Chrome Google Chrome
Gyors és sokoldalú webböngésző
Microsoft Visual C++ 2015 Redistributable Package Microsoft Visual C++ 2015 Redistributable Package
Növelje a rendszer teljesítményét a Microsoft Visual C++ 2015 Redistributable Package segítségével!
Microsoft Visual C++ 2010 Redistributable Microsoft Visual C++ 2010 Redistributable
Alapvető összetevő Visual C++ alkalmazások futtatásához
Microsoft OneDrive Microsoft OneDrive
Egyszerűsítse fájlkezelését a Microsoft OneDrive-val

Utolsó frissítések


Christmas Santa Puzzles Games 2.1

The Jigsaw Puzzles game is a widely recognized logical pastime enjoyed by players of all ages. This free jigsaw puzzle application offers developmental benefits for children, including improved matching abilities, tactile engagement, and …

Training To Go 1.3

Training To Go offers a comprehensive mobile training application designed to support users in maintaining their fitness routine while on the move.

信用飞-旅游分期借款平台 7.0.0

The Credit Fly platform, developed by Shanghai Xiaotu Network Technology Co., Ltd., represents a leading financial service tailored specifically for travelers in the aviation industry.

Kind Hearts 1.1.0

The Kind Hearts platform offers a creative space dedicated to personal expression through the design of customized posters and cards inspired by Pedie Wolfond's heart series.

Dirt Ski Racer - 3D Dirt Bike Ski Racer For Kids 1.0

One of the most captivating and engaging racing games available on the App Store. Introducing our recent offering, DIRT SKI RACER, a desert skiing adventure that challenges your skiing skills.

Pai Gow (Deluxe) 1.56

The game offers a rapid-paced experience, allowing players to complete 16 rounds within five minutes, emphasizing speed and efficiency.