Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is .I extension used for?

I was following this tutorial for learning how to create a Compiler in c++. But in the tutorial the author created tokens.I file for lexical analysis.

Can anyone please tell me what is .I extension used for ??

Thank You

like image 592
Pawandeep Singh Avatar asked Sep 18 '25 23:09

Pawandeep Singh


2 Answers

The extension is actually .l (lowercase L), which is used for a "lex" file.

like image 85
Buddy Avatar answered Sep 20 '25 15:09

Buddy


Intermediate files between the C preprocessor and the C compiler. All macros are expanded here.

like image 28
Bin Wu Avatar answered Sep 20 '25 15:09

Bin Wu