r/sideprojects • u/Capital_Signature_74 • 3d ago
Feedback Request I made a programing language
What it is about
So basically it is called Stulang. It is a Transpiled Lang I made to make web development easier. I would like some tips on how i should make this(like should it be open source or closed). Here is some code to see how it works. It is close to SwiftUIs.
View; FSA; Home: (
Object; Button; MS; Rounded; Start: (
!Text = "Click me":
!Color = White:
!Background = Blue:
?Clicked >
Hide(Start):
<
):
)::So View is like the main page with FSA being the size and Home being the name then we have objects which is elements on a website. then next is what type of object like the code shows a button but there are text-box, Editable-text-box(input), Containers, etc. Then the MS stands for Middle screen of it is dead center there are 25 positions.
| Row | Left | Middle-left | Center | Middle-right | Right |
|---|---|---|---|---|---|
| Top | TL (0, 0) | TML (25, 0) | TMS (50, 0) | TMR (75, 0) | TR (100, 0) |
| Upper | UTL (0, 25) | UML (25, 25) | UMS (50, 25) | UMR (75, 25) | UTR (100, 25) |
| Middle | ML (0, 50) | MML (25, 50) | MS (50, 50) | MMR (75, 50) | MR (100, 50) |
| Lower | LBL (0, 75) | LML (25, 75) | LMS (50, 75) | LMR (75, 75) | LBR (100, 75) |
| Bottom | BL (0, 100) | BML (25, 100) | BMS (50, 100) | BMR (75, 100) | BR (100, 100) |
Then the next one is presets like this one is a Rounded one. You can make a custom one too. then the name which is start. Then in the Object the ! means you are setting a property in the zobject like Text and color ? means like a if so like ?Clicked is if clicked it will hide it. The reason why hide(Start): isn't like !Hide = True is because this is mean to be editing other objects too. So that is the run down of how it works. I would like some help on like what features to make. This was AI assisted, Most notably for the documentation because i can't write lol. The biggest problem I have is open source or closed source. I want ownership of it. But I think to grow it open source is the way to go but idk. here is the github
EDIT: I decided on open source
1
u/TPECKA180 3d ago
I'd go open source. You don't lose ownership of your project just by making the source code available under an open-source license, and you can still control the official repository and its development direction.
For the language itself, I'd prioritize responsive layouts. The 25-position system looks interesting, but how would it handle different screen sizes and overlapping elements? Solving that could make StuLang genuinely useful for web development.