flre
leo-editor
flre | leo-editor | |
---|---|---|
1 | 16 | |
87 | 1,454 | |
- | 0.6% | |
0.7 | 10.0 | |
about 1 year ago | 1 day ago | |
Pascal | Python | |
GNU Lesser General Public License v3.0 only | 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.
flre
-
The project with a single 11,000-line code file
In Pascal that is really common, since the files are the modules. You publish your library as one file, and the user can import it by the file name.
I ran wc on FreePascal to search for some. There are a few, but not as many as I expected.
9k file, data structures for the compiler itself: https://gitlab.com/freepascal.org/fpc/source/-/blob/main/./c...
30k file: Pascal parser/scope resolver: https://gitlab.com/freepascal.org/fpc/source/-/blob/main/pac...
And the record:
119k file, Sharepoint API (but it seems to be autogenerated): https://gitlab.com/freepascal.org/fpc/source/-/blob/main/pac...
As far as libraries go, this is one of my favorites:
23k file, regular expression library: https://github.com/BeRo1985/flre/blob/master/src/FLRE.pas
I searched my own files and found a 197k file to parse HTML entities. But that was an autogenerated trie (one switch/case for each letter)
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?
tetgen - This is a mirror of the latest stable version of Tetgen.
treesheets - TreeSheets : Free Form Data Organizer (see strlen.com/treesheets)
arc
obsidian-alfred - Alfred workflow for Obsidian note-taking app. Open vaults and files in Obsidian.
elf
clerk - ⚡️ Moldable Live Programming for Clojure
fpc
leointeg - Leo Editor Integration with VS Code
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
obsidian-minimal - A distraction-free and highly customizable theme for Obsidian.
kubernetes - Production-Grade Container Scheduling and Management
brick - A declarative Unix terminal UI library written in Haskell