18 comments

[ 7.7 ms ] story [ 51.0 ms ] thread
Didn't work for me out the gate, It cannot access network drives.
Going to try this later! Is it able to jump to a function or variable definition?
Doesn't seem to work to display the hierarchy in existing code unless you structure it using some syntax to allow for the code-folding to work.
I was hoping it would infer the structure automatically, quite unfortunate that this seems to require annotations to get any real value out of it. I wonder if it could be adapted to use something like ctags/LSP/tree-sitter for that purpose.
First project in a while aimed at devs that has Linux and Windows as named release versions with no OSX version. As much as I love cross platform, it's nice that Windows devs still get some love... :-).

(Yeah, I know the qt version could be made to run anywhere and yes I love my Mac, just having fun with a cool project)

I'm amazed by people who casually write a new language that actually works well enough to write a complex and highly useful program in.
First 5 languages are the most difficult.
OP is talking about literally creating (and using) a new language -- not just writing code in a language others created.
Parent meant to say that practice makes perfect.
Wow, that is very easy to miss. Then I went and looked at Copper and it's a significant piece of work by itself. It's self-hosted (written in Copper), and has LLVM, x86, and x64 backends, and is portable to multiple OSes.

    ~/src/languages/copper-4.5/src$ wc -l *.co */*.co
      5296 builder.co
      1002 commons.co
       604 lexer.co
       191 main.co
      2067 parser.co
      2437 codegen/generator-c.co
       508 codegen/generator-dump.co
      2388 codegen/generator-llvm.co
      8896 codegen/generator-x64.co
      9617 codegen/generator-x86.co
       534 data/ast.co
      1466 data/object-file-coff.co
      1185 data/object-file-elf64.co
      1367 data/object-file-elf.co
      5538 data/program.co
       461 data/token.co
     43557 total
Is there an Emacs package which does something similar to the "Smalltalk Style" navigation view? It looks like it can be implemented in a very similar way to imenu

Should be interesting, especially if it can leverage lsp for the code analysis.

Does anyone wanna make an AUR package for this? ;)
Happy to see what is possibly my favourite editor on HN! I've used this little piece of software for over a decade and I don't think I can ever leave it. I used to use it for programming, but these days it's just my outliner. I much prefer it over org-mode, or all the new markdown-based ones. I wish I would see this type of folding in VS Code or any other modern editor!
Shame there's no macOS version, this looks pretty cool.