close
Skip to main content

Question list filters

Filter by
Sorted by
Tagged with
Score of -2
0 answers
136 views

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 ...
user avatar
Score of 0
2 answers
111 views

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 ...
Score of 0
2 answers
104 views

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 ...
Score of 0
2 answers
89 views

Concepts of Programming Languages 11th Edition Chapter 7 Precedence (highest to lowest): *, /, not +, -, &, mod -(unary) =, /=, <, <=, >, >= and or, xor Associativity Left to right c....
Score of -1
5 answers
379 views

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. ...
Score of 0
2 answers
50 views

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 ...
Score of 0
0 answers
60 views

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
82 views

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
61 views

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
188 views

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
43 views

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
225 views

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
237 views

Is there a PEG parser for C language? Is there any list of programming languages with a PEG specification?
Score of -3
1 answer
120 views

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 ...
Score of 1
1 answer
129 views

I saw an article about the Result pattern on the official flutter site(https://docs.flutter.dev/app-architecture/design-patterns/result), and I thought it was a good structure, so I tried to apply it ...

15 30 50 per page
1
2 3 4 5
271