]> git.vpit.fr Git - perl/modules/Sub-Nary.git/log
perl/modules/Sub-Nary.git
16 years agoFix a bug the handling of if (do { return if ; }) { ... }
Vincent Pit [Fri, 8 Aug 2008 19:08:32 +0000 (21:08 +0200)]
Fix a bug the handling of if (do { return if ; }) { ... }

16 years agoRemove the now unused list function
Vincent Pit [Fri, 8 Aug 2008 18:47:29 +0000 (20:47 +0200)]
Remove the now unused list function

16 years agoFix map/grep handling of returns in block with a new cumulate function
Vincent Pit [Fri, 8 Aug 2008 18:46:52 +0000 (20:46 +0200)]
Fix map/grep handling of returns in block with a new cumulate function

16 years agoRewrite add in XS. List::Util is no longer a prerequisite
Vincent Pit [Fri, 8 Aug 2008 14:55:16 +0000 (16:55 +0200)]
Rewrite add in XS. List::Util is no longer a prerequisite

16 years agoRewrite scale in XS
Vincent Pit [Fri, 8 Aug 2008 14:18:08 +0000 (16:18 +0200)]
Rewrite scale in XS

16 years agoRewrite combine in XS
Vincent Pit [Fri, 8 Aug 2008 14:11:27 +0000 (16:11 +0200)]
Rewrite combine in XS

16 years agoRewrite normalize in XS
Vincent Pit [Fri, 8 Aug 2008 10:22:27 +0000 (12:22 +0200)]
Rewrite normalize in XS

16 years agoRewrite list in XS
Vincent Pit [Fri, 8 Aug 2008 10:05:46 +0000 (12:05 +0200)]
Rewrite list in XS

16 years agoRewrite zero in XS
Vincent Pit [Fri, 8 Aug 2008 10:01:54 +0000 (12:01 +0200)]
Rewrite zero in XS

16 years agoRewrite count in XS. List::Util::sum isn't required anymore
Vincent Pit [Fri, 8 Aug 2008 09:52:03 +0000 (11:52 +0200)]
Rewrite count in XS. List::Util::sum isn't required anymore

16 years agoComplete rewrite. Make the inspect process return both the ret state and the last...
Vincent Pit [Thu, 7 Aug 2008 20:52:03 +0000 (22:52 +0200)]
Complete rewrite. Make the inspect process return both the ret state and the last list at each step. This lets us add map/grep support, as well as fixing lots of possible bugs with ill-placed returns

16 years agoAdd support for grep and while. Inline expect_list into expect_any so that the pp...
Vincent Pit [Wed, 6 Aug 2008 09:13:59 +0000 (11:13 +0200)]
Add support for grep and while. Inline expect_list into expect_any so that the pp's and the ops const hash are tried before the logop logic. Take all the kids handling out in expect_kids

16 years agoAdd tests for delete
Vincent Pit [Tue, 5 Aug 2008 21:55:30 +0000 (23:55 +0200)]
Add tests for delete

16 years agoThis is 0.02 v0.02
Vincent Pit [Tue, 5 Aug 2008 14:17:55 +0000 (16:17 +0200)]
This is 0.02

16 years agoExplain how we treat core functions in regard to probabilities of return
Vincent Pit [Tue, 5 Aug 2008 14:16:31 +0000 (16:16 +0200)]
Explain how we treat core functions in regard to probabilities of return

16 years agoGet the good count in aassign. Fixes successive arrays assignments and goatse operato...
Vincent Pit [Tue, 5 Aug 2008 14:02:08 +0000 (16:02 +0200)]
Get the good count in aassign. Fixes successive arrays assignments and goatse operator. Add tests for that and more

16 years agoconst ops are always SVOPs, so we can simplify the logic in pp_const
Vincent Pit [Tue, 5 Aug 2008 13:26:19 +0000 (15:26 +0200)]
const ops are always SVOPs, so we can simplify the logic in pp_const

16 years agoAdd support for constant ranges, and tests for kinds all ranges
Vincent Pit [Tue, 5 Aug 2008 13:14:35 +0000 (15:14 +0200)]
Add support for constant ranges, and tests for kinds all ranges

16 years agoAdd tests for end*() functions
Vincent Pit [Tue, 5 Aug 2008 12:38:17 +0000 (14:38 +0200)]
Add tests for end*() functions

16 years agoAdd support and tests for the get{pw,gr,host,net,proto,serv}* functions. Move ops...
Vincent Pit [Tue, 5 Aug 2008 12:22:14 +0000 (14:22 +0200)]
Add support and tests for the get{pw,gr,host,net,proto,serv}* functions. Move ops tests in a new t/24-ops.t file

16 years agokeys/values return a 'list', each return zero or two scalars
Vincent Pit [Tue, 5 Aug 2008 10:30:57 +0000 (12:30 +0200)]
keys/values return a 'list', each return zero or two scalars

16 years agostat() can also return no arguments if the file can't be found. Hopefully, our %ops...
Vincent Pit [Tue, 5 Aug 2008 10:27:06 +0000 (12:27 +0200)]
stat() can also return no arguments if the file can't be found. Hopefully, our %ops hash can also hold probabilities of return. Make sure that it's duplicated when returned

16 years agoAdd support for gmtime
Vincent Pit [Tue, 5 Aug 2008 09:54:22 +0000 (11:54 +0200)]
Add support for gmtime

16 years agoTest some filestat operators
Vincent Pit [Mon, 4 Aug 2008 23:11:56 +0000 (01:11 +0200)]
Test some filestat operators

16 years agoAlso add support for stat
Vincent Pit [Mon, 4 Aug 2008 23:08:44 +0000 (01:08 +0200)]
Also add support for stat

16 years agoAdd support for localtime and caller
Vincent Pit [Mon, 4 Aug 2008 23:04:31 +0000 (01:04 +0200)]
Add support for localtime and caller

16 years agoPOD nits
Vincent Pit [Mon, 4 Aug 2008 22:53:16 +0000 (00:53 +0200)]
POD nits

16 years agoreadline/<> should be seen as returning a list
Vincent Pit [Mon, 4 Aug 2008 22:47:10 +0000 (00:47 +0200)]
readline/<> should be seen as returning a list

16 years agoAdd a test in t/23-branch.t for the glob strange case
Vincent Pit [Mon, 4 Aug 2008 22:23:23 +0000 (00:23 +0200)]
Add a test in t/23-branch.t for the glob strange case

16 years agoeval '...' should be interpreted as returning a list
Vincent Pit [Mon, 4 Aug 2008 22:04:26 +0000 (00:04 +0200)]
eval '...' should be interpreted as returning a list

16 years agoAdd support and tests for eval { }
Vincent Pit [Mon, 4 Aug 2008 21:56:55 +0000 (23:56 +0200)]
Add support and tests for eval { }

16 years agoReturn 'list' when we can't enter the coderef (such as calling non-overriden core...
Vincent Pit [Mon, 4 Aug 2008 21:33:37 +0000 (23:33 +0200)]
Return 'list' when we can't enter the coderef (such as calling non-overriden core functions with the CORE::GLOBAL:: prefix)

16 years agoWe stole from B::Deparse, not Sub::Deparse
Vincent Pit [Mon, 4 Aug 2008 21:11:07 +0000 (23:11 +0200)]
We stole from B::Deparse, not Sub::Deparse

16 years agoWe can't guess how many elements a match will return
Vincent Pit [Mon, 4 Aug 2008 21:10:41 +0000 (23:10 +0200)]
We can't guess how many elements a match will return

16 years agoImporting Sub-Nary-0.01.tar.gz v0.01
Vincent Pit [Mon, 4 Aug 2008 21:06:35 +0000 (23:06 +0200)]
Importing Sub-Nary-0.01.tar.gz