Giter Site home page Giter Site logo

output's Introduction

Output

2017-03-22 -> 2021-03-05

Object representing an output.

This is part of the universe framework.

How to install?

To import in your application, you can use the universe naive importer (uni), or simply download the planet and put it in your planets directory. With the importer, do this:

cd /your/app
uni import Ling/Output

How to use?

The idea of having an output is to be able to write to this output. I created this object because while I was creating a program that would import modules in an application. I wanted to be able to use this importer (kamille naive importer) from a web application (gui) AND from the console (as a command line tool).

So the output allows me to re-use the same importer in various contexts. Basically, the importer writes everything to the output.

Now, in a web context, the output would be displayed to a file, and a javascript process would regularly fetch the content of this file as it's being written (at least that's the idea but I haven't implemented it yet).

And yet, in the console context, I can have a normal "echoing" output, which displays everything on the console screen.

So, if you don't understand what I'm trying to explain, this probably means that you don't need this object.

History Log

  • 1.7.4 -- 2021-05-31

    • Removing trailing plus in lpi-deps file (to work with Light_PlanetInstaller:2.0.0 api
  • 1.7.3 -- 2021-03-05

    • update README.md, add install alternative
  • 1.7.2 -- 2020-12-08

    • Fix lpi-deps not using natsort.
  • 1.7.1 -- 2020-12-04

    • Add lpi-deps.byml file
  • 1.7.0 -- 2018-04-06

    • add getNbErrors and getNbWarnings methods
  • 1.6.0 -- 2018-04-06

    • add setWebMode method
  • 1.5.0 -- 2017-04-01

    • change warn color code from red to yellow
  • 1.4.0 -- 2017-03-31

    • fix WebProgramOutput nl2br
  • 1.3.0 -- 2017-03-29

    • fix WebProgramOutput br instead of PHP_EOL
  • 1.2.0 -- 2017-03-26

    • add WebProgramOutput
  • 1.1.0 -- 2017-03-22

    • add ProgramOutput.setDampened
  • 1.0.0 -- 2017-03-22

    • initial commit

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.