{"repo":"ArthurSonzogni/Diagon","free":true,"listed":false,"github":"https://github.com/ArthurSonzogni/Diagon","clone":"git clone https://github.com/ArthurSonzogni/Diagon.git","description":"Interactive ASCII art diagram generators. :star2:","language":"C++","stars":2219,"topics":["ascii-art","webassembly","cpp","webapp","webapplication","generators","parser","lexer","antlr","cmake"],"license":"MIT","category":"cli-tools","readme_excerpt":"Diagon Diagon is an interactive interpreter. It transforms markdown-style expression into an ascii-art representation. It is written in C++ and use WebAssembly, HTML and CSS to make a Web Application. We also expose a command line interface and a JS library, for personal and 3rd party tools. Web application https://arthursonzogni.com/Diagon/ Command line interface Diagon is also usable as a command line tool. For instance: To use it, you can either compile it from source or use the precompiled binaries published on the snapstore: bash sudo snap install diagon It is also available as a Nix package: bash nix run github:petertrotman/nixpkgs/Diagon#diagon (A pull request is open to have this merged into NixOS/nixpkgs here ) Javascript library See the JS library diagonjs IDE plugins Make diagon easy to use inside your IDE. Thanks to contributors: - vim-diagon - vscode-diagon Table of content Diagon Generators Command line interface Download packages Build Thanks Generators Mathematic Expression Mathematic Expression input: f(x) = 1 + x / (1 + x) output (Unicode): x f(x) = 1 + ───── 1 + x input: sqrt(1+sqrt(1+x/2)) output (Unicode) ╱ ╱ ╱ x ╱ 1 + ╱ 1 + ─ ╲╱ ╲╱ 2 input: f(x) = 1 + x^2 + x^3 + x^(1+1/2) output (Unicode): ⎛ 1⎞ ⎜1 + ─⎟ 2 3 ⎝ 2⎠ f(x) = 1 + x + x + x input: sum(i^2,i=0,n) = n^3/2+n^2/2+n/6 output (Unicode): n 3 2 ╲ 2 n n n ╱ i = ── + ── + ─ ‾‾‾ 2 2 6 i = 0 input: int(x^2/2 dx ,0,1) = 1/6 output (Unicode): 1 ⌠ 2 ⎮ x 1 ⎮ ── ⋅ dx = ─ ⌡ 2 6 0 input: [a;b] + [c;d] = [a+c; b+d]","default_branch":null,"files":null,"tree":[],"storefront":"/r/ArthurSonzogni","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ArthurSonzogni/Diagon/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}