<div dir="ltr"><div>Oh, thank you so much!<br><br></div><div>I see dtc, the device tree compiler I guess. Parsing is a cool programming subject but I didn't expect to see parsers in the kernel level, cool, cool!<br><br></div><div>Regards,<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-02-02 8:27 GMT-02:00 Augusto Mecking Caringi <span dir="ltr"><<a href="mailto:augustocaringi@gmail.com" target="_blank">augustocaringi@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, Feb 2, 2018 at 11:11 AM, Daniel. <<a href="mailto:danielhilst@gmail.com">danielhilst@gmail.com</a>> wrote:<br>
> I'm just curious. What problems in kernel involves parsing?<br>
<br>
</span>$ find -name *.[yl]<br>
./drivers/scsi/aic7xxx/aicasm/<wbr>aicasm_scan.l<br>
./drivers/scsi/aic7xxx/aicasm/<wbr>aicasm_gram.y<br>
./drivers/scsi/aic7xxx/aicasm/<wbr>aicasm_macro_scan.l<br>
./drivers/scsi/aic7xxx/aicasm/<wbr>aicasm_macro_gram.y<br>
./tools/perf/util/pmu.l<br>
./tools/perf/util/expr.y<br>
./tools/perf/util/parse-<wbr>events.y<br>
./tools/perf/util/parse-<wbr>events.l<br>
./tools/perf/util/pmu.y<br>
./tools/bpf/bpf_exp.y<br>
./tools/bpf/bpf_exp.l<br>
./scripts/genksyms/parse.y<br>
./scripts/genksyms/lex.l<br>
./scripts/dtc/dtc-lexer.l<br>
./scripts/dtc/dtc-parser.y<br>
./scripts/kconfig/zconf.l<br>
./scripts/kconfig/zconf.y<br>
<br>
So, really in the kernel just a SCSI driver that needs to parse a<br>
"Host adapter sequencer assembler"...<br>
<br>
The others *[yl] files are in tools or scripts directories (userspace<br>
tools like perf or build support scripts).<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Augusto Mecking Caringi<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">“If you're going to try, go all the way. Otherwise, don't even start. ..." <br> Charles Bukowski</div>
</div>