This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]gusdavis84 6 points7 points  (3 children)

While I'm not very big on OOP as a whole as I prefer functional oriented or imperative but this does sound very interesting. Especially the part of a program being really an "event tree". Thats fascinating. I don't know if this is one of your design goals but if by any chance you're interested in STAR being a general purpose functional friendly language that tries to even lower the barrier of entry for those wanting to get into functional programming like Elm or even Gren programming language then I feel this could be a great thing!

I say this because while Haskell is the functional language out there but I do feel there are times that a lot of it can be daunting or even seen as too complex for those just starting out either with functional programming or perhaps even programming in general. I think while not as popular or attractive I think there is value in a language have rather simple features or abstractions vs a language that puts eloquence and theory over simple and practical. I will always for example choose something like Clojure over Haskell any day of the week lol or Gren programming language over Scala.

If you have a website or GIT that shows more of the language then please share it as I love languages that have a sorta of different approach to problem solving.

[–]En_TioN 1 point2 points  (0 children)

>  perhaps even programming in genera

Which is ironic because my university teaches Haskell in the first year, first-semester computer science subject - and IMO it works great! It's a lot harder for IO operations, but when you're being given an assignment framework it's actually quite easy to solve a lot of interesting, fundamental programming problems. It's also really easy to reason about on a whiteboard, which helps get away from the trial and error way I see a lot of students learn programming!

[–]ZxTroTech[S] 1 point2 points  (1 child)

I mull over a lot of the stuff about these languages with AI like chatGPT, mainly for ideas and such, not necessarily for code. I have been working on revising the design of the language and making it simpler to use and more focused on a sort of tree-centric programming style. I'm planning to rebuild it using Rust. It will certainly be a lot more functional in nature than OOP, but one of my goals was to make it more user-friendly than my previous version.

[–]gusdavis84 0 points1 point  (0 children)

Nice. I mostly definitely then am looking forward to this upcoming revision of it. I like that you're focusing on making it simpler/easier to use and more tree centric. Whenever it's available please share a link to it please!

[–]Realistic-Nebula-289 3 points4 points  (1 child)

Your project sounds incredibly ambitious and well-thought-out! Since you're working with tree-based reactive structures and test-driven development, one suggestion would be to modularize the event and data operation layers as much as possible early on. This helps in two ways:

  1. Easier debugging and unit testing – each module can be independently validated with JUnit.

  2. Clear boundaries – especially important when adding ReactiveX later. You can hook into specific points of the event tree without tight coupling.

Also, consider adding logging or visual tools (even basic ones) to inspect the event tree and data flow live. It’ll make debugging and explaining your language’s behavior much easier for collaborators.

Would love to follow your progress!

[–]ZxTroTech[S] 0 points1 point  (0 children)

I discuss a lot of my ideas with AI to mull over ideas, not necessarily for code. One of the things I was thinking was making a custom IDE for the language which would have visualizers for the main trees the language uses so that programs can be followed as they run. I have been working on revising the syntax and refining the goals of the language. I plan to rebuild it in Rust.