• Home
  • Games
    Action-adventure Simulation Business Role Playing Sports Competition Casual Intelligence Card Strategy Music Rhythm Text Puzzle Flying Shooting Love Development
  • Apps
    Business Office Newsletter Social Life Entertainment Online Shopping Practical Tools Travel Financial Management Educational Learning Information Reading Sports and Health
  • Blogs

English 中文(简体) 中文(繁体) 한국어 日本語 Português Español Русский العربية Indonesia Deutsch Français ภาษาไทย
Home Apps Educational Learning Operator 0.1.7
Operator 0.1.7
Operator 0.1.7Download
1
2
3
4
5
7.3

Zombie Gunship Survival

  • Version 0.1.7
  • Category Educational Learning
  • Package Name joel.duet.opera
  • Update Time November 14, 2025
  • Size 145.62KB
About this app

You like Javascript, functional programming and Android? Try Operator !

A simple Javascript transpiler program to code in a functional language looking like another famous functional programming language (beginning with an H.)

Each translation can be integrated in your web page via a single javascript script, provided you also installed jqMath (http://mathscribe.com/author/jqmath.html) -- with jQuery -- and Numeric Javascript (http://www.numericjs.com).

Like H., Operator

* is functional

* is little verbose

* understands binary operation's infix notation

Unlike H., Operator

* is not lazy in essence but infinite structures (lists, trees...) 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 lower/upper cases distinction

* doesn't assume any priority for binary operations

* doesn't regard ' (simple quote) as a valid syntactic symbol

* is at a very early stage

Regarding purity, Operator works most of the time with immutable variables and structures but occasionnally (after the interact keyword) some states can be modified (content of an HTML document for example, see Demos).

PRIMITIVE BUILT INS:

Only +,-,*,/,%,==,<,>,substring,length are kept literally from javascript with the same meaning they have in javascript (+ is polymorphic for example). They are now regarded as functions of 2 arguments (except unary length and ternary substring).

The get method has become the ! function

Eg: var val=obj['black']+xs[0]; becomes val = (obj!"black")+(xs!0)

A javascript Array is called a List in Operator

Eg: var xs=[1,2]; becomes xs = List () 1 2 ()

A javascript Object is called a Map in Operator

Eg: 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:

beg = List () 1 2 3

next = beg 4 5

xs = next 6 ()

, the last () giving the end of the structure (the first one creates an new instance). It would then be reckless to defined ys = next 7 () for the (impredictible) order in which xs and ys are processed would influence the result of xs!5 (which could give 6 or 7 accordingly). Instead, define a new immutable List: ys = List () 1 2 3 4 5 7 ()

Several useful document manipulation fonctions are available also:

:=, ::=, newline, value, math, input, button, interact (see Demos)

Several useful general fonctions are available also:

hex2char, dec2hex, hex2dec

The other javascript components can be accessed by the javascript keyword (see below).

And thats'all for the primitive built-ins!

FOREIGN BUILT-INS:

Foreign JAVASCRIPT:

Operator only knows a very small set of primitive keywords and operators but all the 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"

Foreign JQMATH:

If the result of a computation satisfies the jqMath format (http://mathscribe.com/author/jqmath.html), it will be displayed as a mathematical formula. For example

main = "$355/113$"

will display a nice fraction on the screen, and on your web page if you install the script (sent by the "Send javascript" menu) and the jqMath script.

Foreign NUMERIC JAVASCRIPT:

All the numericjs functions (http://www.numericjs.com) can be used. For example

m=List () row1 row2 ()

row1=List () 2 5 ()

row2=List () 6 3 ()

determinant = javascript "numeric.det"

main=determinant m

will return -24. Note that there is no shortcut (as in sqrt above) for the definitions of the numeric functions of 2 or more variables. For example, with the first four lines above and

main = determinant (product m m)

you should define

product = javascript "var fun=function(x){return function(y){return numeric.dot(x,y);};};fun"

in order to get 576.

What's New in the Latest Version 0.1.7

Last updated on Oct 25, 2019 Nothing new, really
Screenshots
Operator 0.1.7
Operator 0.1.7
Operator 0.1.7
Users also viewed
  • EasyEntry

    EasyEntryr

    4.0.3-760 November 14, 2025
    7.8
    1
    2
    3
    4
    5
  • Le La

    Le Lar

    5.2 November 13, 2025
    8.8
    1
    2
    3
    4
    5
  • CA Notes

    CA Notesr

    1.3 November 13, 2025
    9
    1
    2
    3
    4
    5
  • Awakening Youth

    Awakening Youthr

    3.8.0 November 13, 2025
    7.2
    1
    2
    3
    4
    5
  • Awesome Memory Game for Kids

    Awesome Memory Game for Kidsr

    3.2 November 13, 2025
    7.9
    1
    2
    3
    4
    5
  • HY-LINE Display Selector

    HY-LINE Display Selectorr

    1.1 November 13, 2025
    8.4
    1
    2
    3
    4
    5
  • Site Audit

    Site Auditr

    30.4 November 12, 2025
    8.1
    1
    2
    3
    4
    5
  • Aksara Jawa Nulis Aksara Jawa

    Aksara Jawa Nulis Aksara Jawar

    4.0.12 November 12, 2025
    9
    1
    2
    3
    4
    5
  • MyChildAtSchool

    MyChildAtSchoolr

    6.36.17 November 12, 2025
    7.7
    1
    2
    3
    4
    5
  • TouchPoint Visitor

    TouchPoint Visitorr

    1.5 November 12, 2025
    8.8
    1
    2
    3
    4
    5
You may also be interested
  • Princess Fashion Designer

    Princess Fashion Designerr

    1.0.0 November 14, 2025
    8.1
    1
    2
    3
    4
    5
  • Highway Traffic Racing Fever

    Highway Traffic Racing Feverr

    1.0.2 November 14, 2025
    7.2
    1
    2
    3
    4
    5
  • Slot.com

    Slot.comr

    1.28.3 November 14, 2025
    9
    1
    2
    3
    4
    5
  • Tarik Tambang Alpha

    Tarik Tambang Alphar

    1.2 November 14, 2025
    7.3
    1
    2
    3
    4
    5
  • cool speedster

    cool speedsterr

    5.03 November 14, 2025
    9
    1
    2
    3
    4
    5
  • Candy Rush Mania 2

    Candy Rush Mania 2r

    2 November 14, 2025
    7.1
    1
    2
    3
    4
    5
  • Free Kick Master - Euro 2016

    Free Kick Master - Euro 2016r

    1.1 November 13, 2025
    8.9
    1
    2
    3
    4
    5
  • Word Search Journey - New Crossword Puzzle

    Word Search Journey - New Crossword Puzzler

    1.47 November 13, 2025
    7.1
    1
    2
    3
    4
    5
  • Virtua Football Manager

    Virtua Football Managerr

    1.6.0 November 13, 2025
    9
    1
    2
    3
    4
    5
  • Drawing apps,Draw Your Game

    Drawing apps,Draw Your Gamer

    1.14 November 13, 2025
    8.6
    1
    2
    3
    4
    5
Categories Games
  • Action-adventureAction-adventure
  • Simulation BusinessSimulation Business
  • Role PlayingRole Playing
  • Sports CompetitionSports Competition
  • Casual IntelligenceCasual Intelligence
  • Card StrategyCard Strategy
  • Music RhythmMusic Rhythm
  • Text PuzzleText Puzzle
  • Flying ShootingFlying Shooting
  • Love DevelopmentLove Development
Categories Apps
  • Business OfficeBusiness Office
  • Newsletter SocialNewsletter Social
  • Life EntertainmentLife Entertainment
  • Online ShoppingOnline Shopping
  • Practical ToolsPractical Tools
  • TravelTravel
  • Financial ManagementFinancial Management
  • Educational LearningEducational Learning
  • Information ReadingInformation Reading
  • Sports and HealthSports and Health
About Privacy Policy Terms of Service Cooking Policy

© Copyright 2017-2025 downtk.com