Category:Epoxy

From Rosetta Code
Revision as of 16:40, 21 April 2022 by rosettacode>FIREYAUTO (Fixed small issue)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This page is a stub. It needs more information! You can help Rosetta Code by filling it in!
Language
Epoxy
This programming language may be used to instruct a computer to perform a task.
See Also:


Listed below are all of the tasks on Rosetta Code which have been solved using Epoxy.

Epoxy is a interpreted, high-level, structured, dynamically typed programming language written in JavaScript which has a similar syntax design to lua; it has very simplistic syntax, and was designed to take a step away from c-style & js-style languages.

Epoxy is the first language created by FIREYAUTO to have a fully sandboxed environment from its parent language due to the nature of how the closures in the language work. This means that only functions specifically designed for the language will work, and there is a barrier from parent operations to the language operations to follow its own set of rules for logical operations and more. Because of the asynchronous nature of the interpreter for Epoxy, yielding code is very simple in the language.

Epoxy is considerably slow in the grand scheme of a programming language, but this is mainly due to the abstraction to make Epoxy easier to develop and maintain. In the future there may be tests to design compilers which could enhance the performance of Epoxy.


Code Examples

Functions

<lang epoxy>fn Add(...Numbers) --This function will compute the sum of all provided numbers var Sum: 0 iter Number of Numbers do Sum+: Number cls return Sum cls

log(Add(1,2,3)) --6</lang>

Loops

<lang epoxy>loop i:1; i<=10; i+:1 do if i==3 then continue cls log(i) cls</lang>

<lang epoxy>var List: [1,2,3,4]

iter Value of List do log(Value*2) cls</lang>


Links

Epoxy on GitHub
Epoxy Code Editor

Pages in category "Epoxy"

The following 5 pages are in this category, out of 5 total.