Jump to content




ComputerCraft IDEs - Market Research


4 replies to this topic

#1 Viking

  • Members
  • 14 posts

Posted 02 August 2019 - 01:07 PM

_

Edited by Viking, 04 August 2020 - 08:27 PM.


#2 ardera

  • Members
  • 503 posts
  • LocationGermany

Posted 08 August 2019 - 05:30 PM

That's a very nice program!
I guess you are right, few people actively enjoy CC anymore. Let's just hope that with the rise in popularity Minecraft currently experiences, some people will start playing ComputerCraft again.
Your main features are by themselves, pretty big projects. I certainly would feel overwhelmed by that amount of work. You could try breaking this huge projects up into smaller sub-projects, if you like. A text-based lua debugger similiar to gdb would really be useful.

#3 SquidDev

    Frickin' laser beams | Resident Necromancer

  • Members
  • 1,427 posts
  • LocationDoes anyone put something serious here?

Posted 08 August 2019 - 06:40 PM

I'm curious as to the decision to make in-game editing easier, rather than improving the out-of-game editing experience? I don't think it's a bad thing at all - Lua IDE is so old at this point - I guess just runs counter to how I generally use CC.

That auto-complete is looking very nice though, especially the parameter hints. Just curious as to how you're gathering that info - is that using the debug library, hard-coded in, or doing some other magic?

View Postardera, on 08 August 2019 - 05:30 PM, said:

A text-based lua debugger similiar to gdb would really be useful.
I keep meaning to port debugger.lua to CC - that'd definitely be quite easy to do, just never got round to it. On a related note, it would also be pretty nice to have a more extended version of trace - as CC:T exposes the debug library, you can do all sorts of interesting things, such as showing variables in scope when the crash happened, etc...

View Postardera, on 08 August 2019 - 05:30 PM, said:

few people actively enjoy CC anymore.
I think this is a very hard metric to judge - the 1.12.x versions of CC have had ~4.5 million downloads. While this obviously pales compared with many popular mods, it's not to be sniffed at either. Though then again, I don't think it matters either way, as long as you're having fun writing programs :).

#4 Viking

  • Members
  • 14 posts

Posted 09 August 2019 - 12:56 AM

View Postardera, on 08 August 2019 - 05:30 PM, said:

Your main features are by themselves, pretty big projects. I certainly would feel overwhelmed by that amount of work. You could try breaking this huge projects up into smaller sub-projects, if you like. A text-based lua debugger similiar to gdb would really be useful.

I completely agree. As of right now, I'm only focusing on finishing a minimum viable product, a version 1.0 if you like. Some main features work as intended already, some need lots polishing and there's others I haven't even started working on. The debugger mode for example is on the bottom of my TODO list, because I believe that will cause the most headache and I don't personally use debuggers for Lua that much, even outside of ComputerCraft.

Unfortunately it seems like there isn't much demand for CC related stuff right now. Maybe if I'll receive some more feedback I'll get back to working on this in full swing. I really wish I finished this project 4 years ago *sigh*

View PostSquidDev, on 08 August 2019 - 06:40 PM, said:

I'm curious as to the decision to make in-game editing easier, rather than improving the out-of-game editing experience? I don't think it's a bad thing at all - Lua IDE is so old at this point - I guess just runs counter to how I generally use CC.

Generally, I prefer to use out-of-game editors (ZeroBrane Studio is my favorite choice for Lua), too. A couple years ago I was really hooked on the idea of working on an IDE (IRL), and lurking on this forum I saw how the ComputerCraft community was (and still is) lacking in that department. Here I am years later, thinking that maybe I should finish it now.

View PostSquidDev, on 08 August 2019 - 06:40 PM, said:

That auto-complete is looking very nice though, especially the parameter hints. Just curious as to how you're gathering that info - is that using the debug library, hard-coded in, or doing some other magic?

I actually use someone else's parser to do the dirty job for me. The AST contains information about function arguments, local/global variables, scopes and everything I need to make the editor show contextually relevant hints. I also created a linker to combine the project source code into one giant file, which the parser gets fed. This makes it possible that if you load an API (i.e. using os.loadAPI), the editor will be able to suggest and highlight functions/variables from any of the loaded APIs.

Edited by Viking, 09 August 2019 - 12:58 AM.


#5 SquidDev

    Frickin' laser beams | Resident Necromancer

  • Members
  • 1,427 posts
  • LocationDoes anyone put something serious here?

Posted 09 August 2019 - 07:57 AM

View PostViking, on 09 August 2019 - 12:56 AM, said:

The AST contains information about function arguments, local/global variables, scopes and everything I need to make the editor show contextually relevant hints. [...] This makes it possible that if you load an API (i.e. using os.loadAPI), the editor will be able to suggest and highlight functions/variables from any of the loaded APIs.
Oooooh, that is very cool. One of my projects right now is trying to do something similar for a static analysis framework, but it's insanely cool to see it built-in to the editor.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users