Code Monkey home page Code Monkey logo

formulae-js's Introduction

Fōrmulæ for JavaScript

Fōrmulæ is a software framework for visualization, edition and manipulation of complex expressions (either mathematical expressions or expressions from many other fields). If you want to know more about Fōrmulæ, please refer to its website formulae.org.

The JavaScript edition for Fōrmulæ runs in as web application.

This repository contains:

  • The JavaScript implementation of the Fōrmulæ specification for visualizing, editing and manipulating expressions.
  • A front-end —written in JavaScript—, an interface where the user can visualize, create and edit expressions. It works in a read–eval–print loop mode. The user can save a created scrip as a local file in order to be retrieved later or shared.
  • A back-end —written in JavaScript—, is a background program that evaluates the expressions created by the user and returns the result to the front-end, in order to be shown.
  • Message files —written in JSON— for messages in several human languages, in order to the main program can be used for different locales.
  • Because the main program is a web application, it requires some additional resources, such as a HTML file, a CSS file, images, icons, etc.

Fōrmulæ packages

Please notice that this repository contains the code for the main program only. Code for visualizing, editing and manipulating expressions for a specific field —i.e. arithmetics— is grouped in a separate unit called a Fōrmulæ package. Every package has its own repository, you can check here the list of packages.

The main program is able to dynamically load packages. When the main program starts, it loads a set of base packages. The user can also choose for additional packages to be loaded.

The Fōrmulæ programming language

There is a Fōrmulæ package for structured programming (repository). This package makes that a new programming language emerges. This language, called The Fōrmulæ programming language is proven to be Turing-complete, in other words, it is able to run every possible algorithm.

Since the expressions for programming —as well as the expressions for the packages you choose— are pretty-print, it makes the Fōrmulæ language a visual programming language. Moreover, because you decide which packages to load and to use, you can use the Fōrmulæ language to create and inter-operate with expressions from these packages.

Formatting documents

Because text, paragraphs, tables, colors, images, etc. can be abstracted as expressions, Fōrmulæ can also be used to format complex documents. There is a Fōrmulæ package for typesetting (repository).

All the content of the Fōrmulæ website formulae.org, consisting of hundreds of pages with articles, examples, tutorials, etc. are written entirely as Fōrmulæ files.

That content is stored and mantained as a separate repository.

formulae-js's People

Contributors

laurence-ugalde avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.