Skip to content

joaomilho/Enterprise-Web3.0

Repository files navigation

This repo is now being developed under the Enterprise™ SingleRepo™ https://github.com/joaomilho/Enterprise/tree/CEO/node

Enterprise™ Web3.0™

GET IT NOW!

curl https://raw.githubusercontent.com/joaomilho/Enterprise-Web3.0/master/examples/fdcFizzBuzzDelegator.E%E2%84%A2 > fdcFizzBuzzDelegator.E™
npx ETM eval fdcFizzBuzzDelegator.E™

TURBO MODE!

npx ETM eval fdcFizzBuzzDelegator.E™ --turbo

What

Enterprise™ Web3.0™ is a parser and compiler for the Enterprise™ language.

Enterprise™ Web3.0™ is designed to create internet programs that disrupt markets.

Enterprise™ Web3.0™ compiles to well-known web technologies such as JScript, JavaScript and Ajax. It also allows you to write Web2.0 applications, although they are not so disruptive.

What's in it?

A full implementation of the Enterprise™ specs, plus some add ons:

More comments!

Enterprise™ Web3.0™ adds a brand new type of comments to Enterprise™:

because IE comment
/ie
  because IE
ie/

More Enterpresey™ terms!

Since the original spec is not adapted to the Web3.0™, Enterprise™ Web3.0™ adds some new terms for you:

Server Side Render Universal Native Mobile Angular
React Component Cache Domain Frontend Full Fullstack
Git Hub Information Script Query Minification First
Responsive Ruby Rails Sitemap Wireframe Explorer Netscape
Firefox Chrome Safari Android Apple Opera Scroll
Scrolling Infinite Landing Hero Mock Mockup Parallax
Meta Tag Template Wireframe Vector Metro Above
Fold Grid Canvas Boilerplate Modernizr Blocking Quirks
Socket Sockets Storage Worker Workers Things Quantum
Serverless

Examples

fdcFizzBuzzDelegator

Nail your next interview.

/©
  This code is property of Enterprise™.
©/

import disruptive library com.disruptive.IO.write.delegator.dlIOWriteDelegator;;;

/NDA
  This document is regulated by NDA 758-1.
NDA/

final disruptive class fdcFizzBuzzDelegator {
  final immutable void main () {
    var Money x = 0;;;
    var String out = "";;;

    while (x < 1k) {
      if(x % 5 == 0 && x % 3 == 0) {
        write("Fizz Buzz");;;
      } else {
        if(x % 3 == 0) {
          write("Fizz");;;
        } else {
          if(x % 5 == 0) {
            write("Buzz");;;
          } else {
            write(x);;;
          }
        }
      }

      mutate x++;;;
    }
  }
}

fdcUnicornEvaluator

Learn how to IO while checking your idea's Unicorn Rate.

/©
  This code is property of Enterprise™.
©/

import disruptive library com.disruptive.IO.read.delegator.dlIOReadDelegator;;;
import disruptive library com.disruptive.IO.write.delegator.dlIOWriteDelegator;;;
import disruptive library com.disruptive.String.contains.delegator.dlStringContainsDelegator;;;

/NDA
  This document is regulated by NDA 694-2.
NDA/

final disruptive class fdcUnicornEvaluator {
  final immutable void main () {
    var String answer = read("Tell us your idea: ");;;

    if(contains(answer, "Blockchain")) {
      write("Disruptive. 🦄🦄🦄🦄🦄");;;
    } else {
      if(contains(answer, "Tinder")) {
        write("Pain killer. 🦄🦄🦄🦄");;;
      } else {
        if(contains(answer, "Cloud")) {
          write("Vitamin. 🦄🦄🦄");;;
        } else {
          if(contains(answer, "Facebook")) {
            write("Will sleep on that. 🦄🦄");;;
          } else {
            if(contains(answer, "Chat")) {
              write("Meh. 🦄");;;
            } else {
              write("Cockroach.");;;
            }
          }
        }
      }
    }
  }
}

Usage

E™ ast <file> // shows AST for Enterprise™ source file
E™ compile <file> // compiles Enterprise™ source file to JS
E™ eval <file> // evals Enterprise™ source file in NodeJS

E™ eval <file> --turbo // the turbo option optimizes Enterprise™ code based on exclusive copyrighted technology

Releases

No releases published

Packages

No packages published