Changeset 988 for vendor/current/pidl/README
- Timestamp:
- Nov 24, 2016, 1:14:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/pidl/README
r414 r988 1 1 Introduction: 2 2 ============= 3 This directory contains the source code of the pidl (Perl IDL) 4 compiler for Samba 4. 3 This directory contains the source code of the pidl (Perl IDL) 4 compiler for Samba 4. 5 5 6 6 The main sources for pidl are available using Git as part of 7 the combined Samba 3 / Samba 4tree. Use:7 the Samba source tree. Use: 8 8 git clone git://git.samba.org/samba.git 9 9 10 Pidl works by building a parse tree from a .pidl file (a simple 11 dump of it's internal parse tree) or a .idl file 12 (a file format mostly like the IDL file format midl uses). 13 The IDL file parser is in idl.yp (a yacc file converted to 10 Pidl works by building a parse tree from a .pidl file (a simple 11 dump of it's internal parse tree) or a .idl file 12 (a file format mostly like the IDL file format midl uses). 13 The IDL file parser is in idl.yp (a yacc file converted to 14 14 perl code by yapp) 15 16 After a parse tree is present, pidl will call one of it's backends17 (which one depends on the options given on the command-line). Here is18 a list of current backends:19 15 20 16 Standalone installation: 21 17 ======================== 22 Run Makefile.PL to generate the Makefile. 18 Run Makefile.PL to generate the Makefile. 23 19 24 20 Then run "make install" (as root) to install. … … 26 22 Internals overview: 27 23 =================== 24 25 After a parse tree is present, pidl will call one of it's backends 26 (which one depends on the options given on the command-line). Here is 27 a list of current backends: 28 28 29 29 -- Generic -- … … 56 56 57 57 Tips for hacking on pidl: 58 - Look at the pidl's parse tree by using the --keep option and looking59 at the generated .pidl file.60 - The various backends have a lot in common, if you don't understand how one 61 implements something, look at the others 58 - Inspect pidl's parse tree by using the --keep option and looking at the 59 generated .pidl file. 60 - The various backends have a lot in common, if you don't understand how one 61 implements something, look at the others. 62 62 - See pidl(1) and the documentation on midl 63 - See 'info bison' and yapp(1) for information on the file format of idl.yp 63 - See 'info bison' and yapp(1) for information on the file format of idl.yp 64 - Run the tests (all in tests/)
Note:
See TracChangeset
for help on using the changeset viewer.