4,053 questions
Advice
0
votes
1
replies
98
views
Will languages keep getting simpler, and why?
I'm currently developing a compiled language for educational purposes. While defining the CFG (Context-Free Grammar) for struct definitions, I ran into an existential crisis simply by thinking about ...
Best practices
1
vote
2
replies
125
views
If You Were Starting Today, What Would You Learn?
I'm a fresher preparing for software development and technology-related roles in 2026, and I'm trying to identify which programming languages, frameworks, and technologies are currently the most ...
Advice
1
vote
4
replies
110
views
Can we use left-to-right assignment instead of regular one?
What if syntax of assignment operator would be left-to-right: a + b -> a? Would it be easier to write and comprehend it because it follows direction of regular handwriting? For example use of it in ...
Advice
0
votes
2
replies
97
views
What language or imports should I use instead of turtle for more precise drawing?
I have a python script that draws a spiral toward the middle of the screen, using user picked shapes and settings. - the UI uses Tkinter, not turtle, but for the actual drawings after the settings are ...
Advice
0
votes
8
replies
82
views
Associativity and precedence for expressions question
Concepts of Programming Languages 11th Edition Chapter 7
Precedence (highest to lowest):
*, /, not
+, -, &, mod
-(unary)
=, /=, <, <=, >, >=
and
or, xor
Associativity Left to right
c....
Advice
1
vote
8
replies
360
views
How do I stop rewriting my incomplete projects in different languages?
I am building a meal planner for my partner. I wrote it initially in Rust and almost got it working, but then I decided to rewrite it in PHP. I made more progress then rewrote it in Java using Swing. ...
Tooling
1
vote
5
replies
46
views
Base language for programming language experimentation
I occasionally have programming-language ideas that I'd like to play around with, like "what if there were a lighweight monadic call syntax" or "what if my program could save its state ...
Tooling
0
votes
0
replies
57
views
What Criteria Make a Programming Language Suitable for GUI Development?
I am currently working on developing an interactive graphical user interface (GUI) for a work project, and I am exploring my options for programming languages. I am considering languages such as ...
Score of 1
1 answer
78 views
Making custom language with Pest crate in rust, rule is not working
So I made this PEG parser for parsing my custom language:
// 1. Root Rule
program = { SOI ~ stmt* ~ EOI }
// 2. Statements
// Use a positive lookahead (&) to check if an '=' exists later in the ...
Score of 0
0 answers
58 views
How to build a gcc_tree_node from custom language Nodes
Nodes:
building a gcc_tree_node for a custom prograimming language
compile and base on C++26
the modules are avilable
the language using tab-block system
every keyword start with '/'
I want to ...
Score of 0
2 answers
183 views
I'm writing a parser in C++ for my programming language, but I don't figure out how to represent token trees [closed]
I want to create a parser in C++ for my programming language. Its logic is a little different than usual, because I want to first organize tokens in blocks (such as expressions or IDs, that are ...
Score of 2
1 answer
39 views
How do I add a table to a Nytril Document?
I have the Nytril IDE installed and need to add a pie table to my document. I have looked through the tutorial but I am having trouble getting the table to appear.
I tried this, but it doesn't work.
...
Score of 3
2 answers
224 views
Is there a way in *any* JVM language to implement two interfaces with some method(s) with the same signature but different return types
So, I need to have an object implement two interfaces that both require a method with the same signature as each other, but different return types. Something like these two:
interface FooPrinter {
...
Score of 0
1 answer
212 views
Does C11, C99 or C23 have a PEG specification?
Is there a PEG parser for C language?
Is there any list of programming languages with a PEG specification?
Score of -3
1 answer
117 views
How to make minimal CRT (C Runtime) in the elf x86_64 file
I want make CRT (C, C++, Rust use CRT). For what? For my own compiler, i means which minimal suite of functions need for preparing main(argc, argv, envp, auxp, program_name, stack).
How did I know ...