Giter Club home page Giter Club logo

fancyascii's Introduction

This project is on indefinite hold.

The idea to use ANSII escape codes and unicode symbols for equation formatting is appealing, but terminal support is just not what you'd wish it to be.

I wrote quad.sh as a test of terminal features. It prints a few variants of a manually converted forms of the quadratic formula.

Quadratic formula

examples

On the left with poor unicode support is the default WSL terminal, on the right is Mintty.

Old description remains below for archiving reasons.

fancyASCII

A monospaced document formatter. The ASCII part of the name is potentially a misnomer, as using unicode for math-symbols etc is useful.

Wait, What?

FancyASCII intends to be many things.

  • a text formatter targetting monospace textfiles and text-mode terminal screens.
  • an extendable library of "FormatTypes", ML->ASCII definitions for special elements.

FormatTypes

Math(s)

Formats for many kinds of math, possibly based on courses I took recently.

  • Linear Algebra
    • matrices
  • Relational Algebra
  • Symbolic Logic
    • Logical Derrivation Trees
  • Sentence diagrams

Rationale

Prettier text-mode output for programs.

Who doesn't love lynx?

Formatting for plaintext documents.

All my class notes are text files. Using a markup language lets the user quickly define complex, odd, or rare elements/structures with a normal keyboard, w\o relying on copy-pasting special symbols.

Possible additions

Things for later

  • support for MathML input
  • reversable translations that turn what is essentially "ASCII art" back into markup-form equations and paragraphs.

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.