I can finally edit the program source with the program itself, it's hard as heck to read but it works 👍
@neauoire Nice! Got any cool visual editing ideas stewing, given that you're already in SDL?
@nfd yesh :>
@neauoire what now? you created a text editor?
@royniang yeah, it was missing.
@neauoire Is it going to be like Left with prose features or is it going to be mainly to edit code?
@royniang I have no clue, I'm gonna use it to write code at first, then maybe I can gear it toward more writing stuff :)
@neauoire nice! I really dig the font :)
@royniang cheers, made in Nasu. :)
@neauoire how do you read that?
@neauoire lmao fair
@neauoire is that video of you editing the source for the editor? If so that's metal! Editor looks great. Love the aesthetic.
@xinniw yeah haha, the editor is these 400 lines of C89.
@neauoire sick!
@neauoire You have all the pieces to do a PICO-8 like fantasy dark console
@mario_afk missing the sound engine stuff, I'll get there.
@neauoire * gets excited *
@neauoire next you know it will be intellesense! :) But, syntax highlighting is pretty great.
@neauoire interesting that you start line numbering at zero; I think it's more common for stack traces to count from one.
@technomancy Oh that's a good point, I haven't really given much thought to the line count thing, I'll start it at one, thanks :)
@neauoire you know when vim and emacs both agree to do something the same way there's probably a reason for it =)
@technomancy to be honest, I always have the linecount hidden in Micro. I usually just navigate to the errors by goto line, I'm glad you pointed this out.
@neauoire yeah, I usually lean on the command too. I love the look of the font you're using btw.
I've written one and a half text editors now; the one that's actually usable is 1.7kloc of Fennel. (with coloring, auto-completion, window splits, repls, etc so pretty different from what you're doing)
@technomancy well, if you ever have any other lessons-learnt to give me while I make this usable for myself, I want it :D
@neauoire unfortunately I think most of my lessons learned are not very applicable in a language that doesn't have data structures and closures, because it's mostly "structure your command interaction in terms of data structures that contain closures" =)
@technomancy ah yeah, that's right, I went down that road building the Ronin editor a few years ago.
@neauoire right I mean at some point you're not so much building a text editor as an interactive command framework that lets you attach lambdas to keystrokes
@neauoire this looks gorgeous!
tbh, after using acme as my main editor for 2 months now i'm pretty surprised at how little i miss syntax highlighting! but it could v well be more useful for different minds and use cases
@dogstar I know the feeling, but if your font sucks AND you don't have syntax highlight.. you're in trouble. So I'll try to improve the font a bit and so some sort of syntax blocking to give myself a chance..
@neauoire oh that's a good call, i hadn't thought about that! if the font is difficult/ambiguous it could be a lot more useful
@matthilde @neauoire that's fair! i've always felt similarly, but decided to see how my brain handled not having it, and it's been pretty ok :)
@dogstar @matthilde I got used to not having it with acme, after a while I thought why do we even need it at all?
But it's a mixture of many things, in acme you don't look for things as much as you click commands that jumps you to where you wanna go.
@dogstar @matthilde also, tab size of less than 4 without synthax highlight is unreadable.
@neauoire my tab size is exactly 4 so
@wiecek I mean, yeah.
Yea just numbers, strings and comments should be far enough.
@neauoire I don't know if syntax highlighting is the resolution here! 🤔
@neauoire Syntax highlight + 100r theme framework + changing the font to Inter and we 🚮 VS Code.
@kitsunelli yeah not gonna happen, I'm not planning on adding a ttf renderer to this.
@kitsunelli sorrey :(
@neauoire Haha no worries! Actually looks very cool... as always. ✨
@neauoire What do you think of representing the font in bdf?
https://en.wikipedia.org/wiki/Glyph_Bitmap_Distribution_Format
(Ignore the "Adobe". It's a simple text format.)
@akkartik @kitsunelli It's not something I could do in 10ish lines I think, it's a bit beyond me.
@neauoire looks cool! would 8x16 fonts be possible?
@devurandom It probably could be but I don't know if I have it in me to make the tilesize flexible, we'll see.
@neauoire also, i wonder: what do these icons on the bottom mean?
@devurandom nothing, they're the camera options for Moogle, they're just a placeholder at the moment until I start working on the nav tools.
@neauoire cool... some of these look like sitelen pona characters.
@neauoire what I really like is the font! which one is it??
@ekaitz_zarraga just something I made up last night in Nasu.
@neauoire Congratulations then. Good job.
@neauoire Nice
Becoming less crappy by the hour.