Re: Linux Kernel contains only C code?

2018-02-02 Thread Daniel.
Oh, thank you so much! 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! Regards, 2018-02-02 8:27 GMT-02:00 Augusto Mecking Caringi : > On Fri, Feb 2, 2018 at 11:11

Re: Linux Kernel contains only C code?

2018-02-02 Thread Augusto Mecking Caringi
On Fri, Feb 2, 2018 at 11:11 AM, Daniel. wrote: > I'm just curious. What problems in kernel involves parsing? $ find -name *.[yl] ./drivers/scsi/aic7xxx/aicasm/aicasm_scan.l ./drivers/scsi/aic7xxx/aicasm/aicasm_gram.y ./drivers/scsi/aic7xxx/aicasm/aicasm_macro_scan.l

Re: Linux Kernel contains only C code?

2018-02-02 Thread Daniel.
I'm just curious. What problems in kernel involves parsing? On Feb 2, 2018 5:01 AM, wrote: > On Thu, 01 Feb 2018 11:37:26 -0500, Aruna Hewapathirane said: > > > Somethings are not so obvious like what could possibly be a *.y file or > > *.tc file ? If you type in find

Re: Linux Kernel contains only C code?

2018-02-01 Thread valdis . kletnieks
On Thu, 01 Feb 2018 11:37:26 -0500, Aruna Hewapathirane said: > Somethings are not so obvious like what could possibly be a *.y file or > *.tc file ? If you type in find -name "*.y" in my case i see: > > aruna@debian:~/linux-4.15$ find -name "*.y" > Now if I pass that to the 'file' command ... >

Re: Linux Kernel contains only C code?

2018-02-01 Thread Greg KH
On Thu, Feb 01, 2018 at 05:49:13PM +0100, Augusto Mecking Caringi wrote: > On Thu, Feb 1, 2018 at 5:37 PM, Aruna Hewapathirane > wrote: > >> On Fri, Jan 26, 2018 at 1:58 AM, inventsekar > >> wrote: > >> Hi all, ... > > > >> 1. May i know,

Re: Linux Kernel contains only C code?

2018-02-01 Thread Augusto Mecking Caringi
On Thu, Feb 1, 2018 at 5:37 PM, Aruna Hewapathirane wrote: >> On Fri, Jan 26, 2018 at 1:58 AM, inventsekar >> wrote: >> Hi all, ... > >> 1. May i know, other than C language, is there any other programming >> language is/are used inside Linux

Re: Linux Kernel contains only C code?

2018-02-01 Thread Aruna Hewapathirane
> On Fri, Jan 26, 2018 at 1:58 AM, inventsekar wrote: > Hi all, ... > 1. May i know, other than C language, is there any other programming language is/are used inside Linux Kernel?!?! > is there any c++, Perl, python programs are used for peculiar tasks inside Linux

Re: Linux Kernel contains only C code?

2018-01-29 Thread Greg KH
On Mon, Jan 29, 2018 at 01:00:10PM -0500, Jeffrey Walton wrote: > On Mon, Jan 29, 2018 at 12:33 PM, Greg KH wrote: > > On Mon, Jan 29, 2018 at 12:16:19PM -0500, Jeffrey Walton wrote: > >> ... > >> It would be nice if they moved away from UB and implementation defined > >> behvior,

Re: Linux Kernel contains only C code?

2018-01-29 Thread Jeffrey Walton
On Mon, Jan 29, 2018 at 12:33 PM, Greg KH wrote: > On Mon, Jan 29, 2018 at 12:16:19PM -0500, Jeffrey Walton wrote: >> ... >> It would be nice if they moved away from UB and implementation defined >> behvior, but sometimes the political problems are heavier than the >> technical

Re: Linux Kernel contains only C code?

2018-01-29 Thread Greg KH
On Mon, Jan 29, 2018 at 12:16:19PM -0500, Jeffrey Walton wrote: > On Mon, Jan 29, 2018 at 10:41 AM, Augusto Mecking Caringi > wrote: > > On Fri, Jan 26, 2018 at 2:12 PM, wrote: > >> On Fri, 26 Jan 2018 05:53:20 -0500, Ruben Safir said: > >>>

Re: Linux Kernel contains only C code?

2018-01-29 Thread Jeffrey Walton
On Mon, Jan 29, 2018 at 10:41 AM, Augusto Mecking Caringi wrote: > On Fri, Jan 26, 2018 at 2:12 PM, wrote: >> On Fri, 26 Jan 2018 05:53:20 -0500, Ruben Safir said: >>> Its not even really C, at least not as a normal application developer >>>

Re: Linux Kernel contains only C code?

2018-01-29 Thread Augusto Mecking Caringi
On Fri, Jan 26, 2018 at 2:12 PM, wrote: > On Fri, 26 Jan 2018 05:53:20 -0500, Ruben Safir said: >> Its not even really C, at least not as a normal application developer >> thinks of it. This is systems programming with a lot of kernel specific >> libraries. > > It's C.

Re: Linux Kernel contains only C code?

2018-01-26 Thread valdis . kletnieks
On Fri, 26 Jan 2018 05:53:20 -0500, Ruben Safir said: > On 01/26/2018 02:20 AM, Larry Chen wrote: > > I have never seen c++, perl or python code in kernel source tree. > > Imagine that, if kernel relies on perl, python or other 3rd-party code, > > will it cause nested or mutual dependency issues?

Re: Linux Kernel contains only C code?

2018-01-26 Thread Ruben Safir
On 01/26/2018 02:20 AM, Larry Chen wrote: > I have never seen c++, perl or python code in kernel source tree. > Imagine that, if kernel relies on perl, python or other 3rd-party code, > will it cause nested or mutual dependency issues? 3rd-party code bugs > may also cause problems that make the

Re: Linux Kernel contains only C code?

2018-01-25 Thread Larry Chen
Hi Sekar, Hi all, ... 1. May i know, other than C language, is there any other programming language is/are used inside Linux Kernel?!?! is there any c++, Perl, python programs are used for peculiar tasks inside Linux Kernel?!?! I have never seen c++, perl or python code in kernel source

Re: Linux Kernel contains only C code?

2018-01-25 Thread Alice Ferrazzi
Hello Sekar, On Fri, Jan 26, 2018 at 3:58 PM, inventsekar wrote: > Hi all, ... > > 1. May i know, other than C language, is there any other programming > language is/are used inside Linux Kernel?!?! > is there any c++, Perl, python programs are used for peculiar tasks

Re: Linux Kernel contains only C code?

2018-01-25 Thread valdis . kletnieks
On Fri, 26 Jan 2018 12:28:38 +0530, inventsekar said: > 1. May i know, other than C language, is there any other programming > language is/are used inside Linux Kernel?!?! > is there any c++, Perl, python programs are used for peculiar tasks inside > Linux Kernel?!?! Some of the userspace

Linux Kernel contains only C code?

2018-01-25 Thread inventsekar
Hi all, ... 1. May i know, other than C language, is there any other programming language is/are used inside Linux Kernel?!?! is there any c++, Perl, python programs are used for peculiar tasks inside Linux Kernel?!?! 2. I believe some assembly language and shell scripting also used.. how can I