Measures Concepts
GitHub icon

Violent ES

Violent ES - Programming language

< >

Violent ES is a programming language created in 2022 by Matheus Dias de Souza.

Source code:
git clone https://github.com/violent-es/violent-es
#999on PLDB 2Years Old

Robust dialect of the EcmaScript scripting language. Not available yet, work in progress.


Example from the web:
enum Product { // ['smartphone', 0] const SMARTPHONE; // ['aUtOmObIlE', 1] const AUTOMOBILE = 'aUtOmObIlE'; // ['kxxx', 65] const KEYBOARD = [65, 'kxxx']; function customMethod():void { } } var p:Produle = 'kxxx'; var p = Product.KEYBOARD; p.valueOf(); // 65 p.toString(); // 'kxxx' p = 65 as! Product; p = 'kxxx' as! Product; [Flags] enum Permissions { // ['fooBlah', 1] const FOO_BLAH; // ['qux', 2] const QUX; // ['baz', 4] const BAZ; } var p:Permissions = ['fooBlah', 'qux']; p = {fooBlah: true, baz: false}; p = p.toggle('fooBlah'); p = p.filter('qux'); p = p.include('qux'); p = p.exclude('qux'); 'qux' in p; // empty p = undefined; p = {}; p = [];
Violent ES Keywords
as await break case catch class const continue default delete do each else embed enum extends false final finally for from function get if implements import in include interface internal is meta namespace native new null override package private protected proxy public resource return set static switch this throw throws true try type typeof undefined use var void where while with yield

View source

- Build the next great programming language Search Add Language Features Creators Resources About Blog Acknowledgements Queries Stats Sponsor Day 605 feedback@pldb.io Logout