summaryrefslogtreecommitdiff
path: root/regen.pl
Commit message (Collapse)AuthorAgeFilesLines
* Generate the definitions for magic vtables from data in a regen script.Nicholas Clark2011-06-111-0/+1
| | | | | | | | | | | Previously perl.h contained a long section of MGVTBL_SET() macros declaring the core's various magic vtables. Convert the information into data structures in a new script regen/mg_table.pl, and use this to generate a new file mg_vtable.h, included by perl.h This is the first step in reducing the number of places that data relating to magic vtables is declared (and has to be kept in sync), and will allow more flexibility in parts of the core's implementation.
* Merge perl_keyword.pl into regen/keywords.pl, to generate keywords.[ch]Nicholas Clark2011-01-241-1/+0
| | | | | | | | | | Prepend + or - in front of all the keyword names in __DATA__ to mark weak and strong keywords, needed for keyword.c As keywords.c needs Devel::Tokenizer::C 0.05, not a core module (and not a common module either) we can no longer run it as part of regen.pl. So store the sha256 of the source in the generated files, and use this in to check that they are not stale (in t/porting/regen.t)
* Generate pp_* prototypes in pp_proto.h, and remove pp.symNicholas Clark2011-01-091-2/+1
| | | | | | | | | | | Eliminate the #define pp_foo Perl_pp_foo(pTHX) macros, and update the 13 locations that relied on them. regen/opcode.pl now generates prototypes for the PP functions directly, into pp_proto.h. It no longer writes pp.sym, and regen/embed.pl no longer reads this, removing the only ordering dependency in the regen scripts. opcode.pl is now responsible for prototypes for pp_* functions. (embed.pl remains responsible for ck_* functions, reading from regen/opcodes)
* Move regen scripts to regen/Steffen Mueller2010-10-101-1/+1
| | | | | Moves the various scripts that are called by regen.pl to a subdirectory to reduce clutter.
* A test to check that regen.pl doesn't need running.Nicholas Clark2010-09-281-1/+2
| | | | | We can't run regen.pl as part of the build, as we'd end up with a circular dependency between the headers and miniperl.
* Ensure regen.pl and the scripts that it calls can be run by older perls.Nicholas Clark2010-09-221-1/+1
| | | | | | | As the internal comments state, they may be all that is available, particularly if trying to port something to an obscure platform. There's not that much that needs changing to get back to 5.005, or from there to 5.004, but beyond there is hard work, and really not worth it.
* remove much dead code from regen.plZefram2010-08-281-37/+0
|
* Remove autodoc.pl from regen.pl and the lists of regenerated files in Makefiles.Nicholas Clark2009-06-131-5/+1
| | | | Should really have been done as part of 344af494c35a9f0f50dab51474b2e7cd806f1b08
* make script execution order in regen.pl mostly alphabeticalDavid Mitchell2009-05-151-5/+6
|
* add lib/overload/numbers.pm to (unused) output file list in regen.plDavid Mitchell2009-05-151-1/+1
|
* tidy up regen.pl (no functional changes)David Mitchell2009-05-151-3/+22
|
* Move all the logic to print the "Changed" message into regen_lib.pl,Nicholas Clark2008-04-141-13/+5
| | | | | | which removes the need for any checksums. Arrange for regen.pl to run autodoc.pl last, as it wants to open files generated by reentr.pl. p4raw-id: //depot/perl@33675
* Run overload.pl from regen.pl, and check overload.c as well as overload.hSteve Hay2008-04-041-3/+2
| | | p4raw-id: //depot/perl@33646
* add -v to regen.pl and friendsRobin Barker2008-03-301-3/+3
| | | | | | From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <46A0F33545E63740BC7563DE59CA9C6D093AA6@exchsvr2.npl.ad.local> p4raw-id: //depot/perl@33608
* Re: [patch] refine make regen to be more selectiveJim Cromie2008-03-151-2/+2
| | | | | | Message-ID: <47D720CE.7060004@gmail.com> Date: Tue, 11 Mar 2008 18:16:14 -0600 p4raw-id: //depot/perl@33537
* bytecode.pl: Exterminate!Nicholas Clark2007-05-071-2/+1
| | | | | ext/B/B/Asmdata.pm: Exterminate! p4raw-id: //depot/perl@31165
* Fix typo spotted by Rafael. Close the file handle explicity and checkNicholas Clark2006-10-061-1/+2
| | | | | for errors. Add overload.pl to regen.pl p4raw-id: //depot/perl@28951
* Remove perlcc and the byteloaderRafael Garcia-Suarez2006-09-061-3/+1
| | | p4raw-id: //depot/perl@28790
* "make regen" should run reentr.plRafael Garcia-Suarez2005-05-101-2/+3
| | | p4raw-id: //depot/perl@24443
* regen_headers tiny tidying:Jarkko Hietaniemi2003-03-081-36/+55
| | | | | | | | | | - regen.pl renamed as regen_lib.pl - regen_headers.pl renamed as regen.pl - added make target 'regen' (kept target 'regen_headers' for porters' brains' backward compatibility) - regen.pl fancified a bit to display the names of the files that got changed by running the scripts p4raw-id: //depot/perl@18851
* regen_headers outside Makefile (was Re: [PATCH] embed.pl doc)Nicholas Clark2002-11-191-0/+45
Message-ID: <20021029230003.GF287@Bagpuss.unfortu.net> p4raw-id: //depot/perl@18160