Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babelute

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babelute

Internal Domain Specific (Multi)Modeling javascript framework

  • 0.5.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
20
increased by66.67%
Maintainers
1
Weekly downloads
 
Created
Source

Babelute.js

42[ lexem( lexicon, name, arguments ), ... ]

Internal Domain Specific (Multi)Modeling js framework

Travis branch bitHound Overall Score Coverage Status npm npm-downloads licence dependecies dev-dependencies Conventional Commits

Really small, simple, incredibly powerful and super fast Descriptive Internal DSLs tools.

"A Babelut(t)e is a sort of long toffee flavoured with honey or vergeoise (demerara sugar) from [...] Flanders, Belgium".

Etymology : "[A french word that] is likely to come from the Flemish "babbelen", speaking a lot, and "uit", finished because when you eat the toffee, you cannot speak anymore (either because you are enjoying it or because you cannot open the mouth).[...]" - src : wikipedia

Babelute.js core library (this lib) provides helpers to :

  • define and manage Internal DSLs for modeling any kind of problems
  • with a simple (meta)grammar - based on Method Chaining - for writing structured unambiguous "sentences" (called babelutes)
  • and to provide ways :
    • to manage dictionaries of related lexems (called lexicons) that form DSL semantic fields and their Internal Denotation
    • to translate DSL sentences to other DSL sentences (by example through dedicated bridge-DSLs with their own lexicon(s))
    • to interpret sentences in many context with specific fine grained dedicated implementations (called pragmatics)

Core Libraries

  • babelute (this lib)
  • babelute-uus : Universal Unambiguous Sentences proposal : Welcome in Sharing Era.

Understanding by examples

First of all, please read Designing a DSL.

Then take a look to existing DSLs.

(work in progress)

Low Level DSLs (Developement related domains) :

  • babelute-aright : Objects and types validation DSL (ultra-fast, ultra-modular) (realease in april 2017)
  • babelute-lexicon-definition-language : Babelute Lexic Definition DSL and its generators. (realease in april 2017)
  • babelute-html-lexicon : HTML5 DSL and its render engines. (modern, one of the world's fastest, one-way-binding templating (React philosophy))

High Level DSLs (Human related domains) :

  • babelute-cooking : High Level Cooking DSL demo and its bunch of transformations and DSLs targets. (realease in april 2017)

Theory background and development

(work in progress)

Theorical considerations are exposed here.

Licence

The MIT License

Copyright 2016-2017 (c) Gilles Coomans gilles.coomans@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Keywords

FAQs

Package last updated on 18 Apr 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc