Questions tagged [compiler-development]

Used for questions about compiler development (but not design).

Used for questions about compiler development (but not design).

21 questions
0
votes
1 answer

x86_64 Warning : character constant too long [-w+other] (nasm)

I am writing a compiler in attempt to switch my programming language from interpreted to compiled this is the code my script generated: section .bss digitSpace resb 100 digitSpacePos resb 8 string_at_index_0 resb 12 string_at_index_0_len…
liveno
  • 45
  • 3
0
votes
1 answer

Assembly Language for Compiler Development

I tried to build a small compiler and I finished Lexer and Parser. And now I need to create Assembly Code Generator part of that. So i have some problems! Actually I can C well and I learned NASM Assembly for this task. Now i can make some programs…
0
votes
1 answer

Compiler design frontend calculation in the main function for Clang and Zig

I have started reading the source code of clang and zig-lang. Unfortunately, the source codes are complicated and I am not able to find out where is frontend of these compilers are called in the main function. In clang, the closer place I have found…
vmax
  • 1
0
votes
0 answers

Part of compiler calculates arithmetic operations

What part of the compiler calculates arithmetic operations? EX- int x = 5; int y = 4; print(x+y); Part of calculates print function (Lexical,syntax ,Semantics) Im trying compiler
-3
votes
2 answers

README before start your Compiler project

Basically, it's a dream first ... I might have my own programming language someday!, but it will turn to a nightmare soon, just right after you looking for How to build a compiler?. I spend too much time, like most of you guys, to read dragon books…
user1960660
-4
votes
1 answer

how to set C/C++/Rust compiler default decimal number base to hexadecimal base?

it seems hexadecimal numbers are good for c/c++/rust iot programming. Below are images in favour of hexadecimal numbers . I am looking for rust compiler in which hexadecimal is default base for integers float . ascii_510(5+5=10) -->…
1
2