brick
leo-editor
Our great sponsors
brick | leo-editor | |
---|---|---|
9 | 16 | |
1,565 | 1,453 | |
- | 1.1% | |
8.0 | 10.0 | |
about 2 months ago | 3 days ago | |
Haskell | Python | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
brick
-
Show HN: Text Lambda, a versatile notebook for your personal data
Thank you!
"stash", the initial MVP version, is written in Haskell. I chose Haskell mostly because of https://github.com/jtdaugherty/brick, which is a wonderful TUI library. I also tend to prefer functional programming languages when I have the choice.
However, Text 's backend and website are currently implemented in Clojure. The app is in C + Flutter (Dart).
-
brick-tabular-list has been improved infinitely.
Brick? Hadn’t heard of it so leaving for myself and others
- Brick: A declarative Unix terminal UI library written in Haskell
-
How can I move from a basic hello world/number program to something more substantial?
Brick is a great library for terminal applications. I’d say start with the examples or take a look at some tutorials that use it, then just go at it.
-
A simple tui to launch gzdoom mods
Thanks. Yeah I was surprised myself at how much of a capable tool whiptail turned out to be. Especially since I'd heard it has issues with returning values, or not being as capable as dialog. I was actually in the midst of choosing between it, Haskell's brick, or python's PromptToolkit, yet settled on whiptail to see how far a bash approach could take me.
-
wordle - Wordle clone in the terminal
Written in Haskell with brick.
-
FINAL CUT alternatives - brick, notcurses, FTXUI, blessed, and ansi-styles-python
22 projects | 5 Sep 2021
A declarative Unix terminal UI programming library written in Haskell (by jtdaugherty)
-
Writing Programs with Ncurses
There is brick[1][2] for Haskell. Other languages may have something similar.
[1] https://hackage.haskell.org/package/brick
[2] https://github.com/jtdaugherty/brick/blob/master/docs/samtay...
-
If you could change one thing about Emacs what would it be?
In that vein, a declarative way to build (Text) UI like html+css. Or something along the lines of what Brick is for terminals.
leo-editor
- something with collapsible sections in the text part?
-
Ask HN: What do you think about literate programming for handover/legacy code?
What are your experiences with literate programming for handover of code?
I am thinking of tools like noweb (https://en.wikipedia.org/wiki/Noweb), LEO (http://leoeditor.com/) org-mode (http://cachestocaches.com/2018/6/org-literate-programming/), scribble/lp2 (https://docs.racket-lang.org/scribble/lp.html#%28part._scribble_lp2_.Language%29),
My experience so far is that it can be a fantastic tool for documenting and handing over complex algorithms to successor developers. I use extensively use ersonal wikis (sometimes MoinMoin, sometimes Zim Wiki, in the last time often a combination of github with reStructuredText) for work. That might also be sufficient when handing over boring code.
-
How to hoist the current method/function?
I know what folding is, that's just not what I want. I want to completely hide everything that is not related to the current function. For a while, I used http://leoeditor.com/ where I could have every function/method as a node in a tree, with the node body containing just that. Looking for a way to achieve the same in vim if possible.
-
Organice: An implementation of Org mode without the dependency of Emacs
The lack of good node/graph based APIs for Org Mode is my beef as well. When you compare it with the APIs of the Leo Editor[1], Org pales in comparison. Manipulation that is trivial in the Leo Editor can be quite a pain in Org mode.
[1] https://leoeditor.com/
-
Obsidian Dataview: Turn Obsidian Vault into a database which you can query from
> What outliners do you know which allow end-users to feed their data into formulas for processing it without using general-purpose programming languages?
Bit of a pointless constraint, the talk is about outliners, not no-code-datamangment. Which tool today does this even offer on a useful level?
But you can look at leo editor (https://leoeditor.com), which is active for 20+ years, fully scriptable and extendable. Though, it's a hot piece of garbage for laymen. It's offers a bunch of features and plugins even for non-coders, but I'm not sure it would satisfy you for this area, if you can't code.
But I'm not sure if there ever is a tool which will satisfy everyone with just a no-code-approach.
- LeoVue
- Leo – cross-platform PIM, IDE, and outliner
-
Why LSP?
Hmm maybe you mean:
- Programming based on fragments, not documents (e.g. LEO https://leoeditor.com/)
- Live programming (e.g. smalltalk environments)
- ... where certain actions are not available, e.g. a PL geared towards speech recognition may not support "hover"
-
Is it bad practice to start with Jupyter Notebooks?
There's also https://leoeditor.com/ where you can have a tree of nodes and execute any of them.
-
The project with a single 11,000-line code file
I had this problem until I found an editor that had outlining as it's core design paradigm. Now, with the outline always visible, it's _really_ easy to navigate any length file.
Unfortunately, at one point I got so used to navigating with the outline that I ended up making a 1500 line function in C (I was an even worse C programmer then than I am now). Because of the outline, I could read and follow it easily, but anyone with a different editor was royally screwed :-(
If you're interested, the editor is LEO (http://leoeditor.com/) it's been mentioned on HN a few times
What are some alternatives?
TuiCss - Text-based user interface CSS library
treesheets - TreeSheets : Free Form Data Organizer (see strlen.com/treesheets)
reanimate - Haskell library for building declarative animations based on SVG graphics
obsidian-alfred - Alfred workflow for Obsidian note-taking app. Open vaults and files in Obsidian.
implicit - A math-inspired CAD program in haskell. CSG, bevels, and shells; 2D & 3D geometry; 2D gcode generation...
clerk - ⚡️ Moldable Live Programming for Clojure
gloss - Painless 2D vector graphics, animations and simulations.
leointeg - Leo Editor Integration with VS Code
plot-light - A lightweight plotting library, exporting to SVG
obsidian-minimal - A distraction-free and highly customizable theme for Obsidian.
Rasterific - A drawing engine in Haskell
typescript-lan