]> git.vpit.fr Git - perl/modules/Sub-Nary.git/log
perl/modules/Sub-Nary.git
15 years agoThis is 0.03 v0.03
Vincent Pit [Fri, 8 Aug 2008 22:38:36 +0000 (00:38 +0200)]
This is 0.03

15 years agoSimplify pp_entersub argument list logic and improve coverage with a test
Vincent Pit [Fri, 8 Aug 2008 22:23:56 +0000 (00:23 +0200)]
Simplify pp_entersub argument list logic and improve coverage with a test

15 years agoMove misc XS tests to t/15-misc-xs.t, including scalops tests. Simplify pp_rv2av
Vincent Pit [Fri, 8 Aug 2008 22:07:53 +0000 (00:07 +0200)]
Move misc XS tests to t/15-misc-xs.t, including scalops tests. Simplify pp_rv2av

15 years agoOne more test to exaust for cases. Remove debugging cruft
Vincent Pit [Fri, 8 Aug 2008 21:30:58 +0000 (23:30 +0200)]
One more test to exaust for cases. Remove debugging cruft

15 years agoTest for definedness of returned values because 0 is really { 0 => 1 } in our context
Vincent Pit [Fri, 8 Aug 2008 21:20:49 +0000 (23:20 +0200)]
Test for definedness of returned values because 0 is really { 0 => 1 } in our context

15 years agofor/while (...) { return if } should be interpreted as 'list'
Vincent Pit [Fri, 8 Aug 2008 21:18:41 +0000 (23:18 +0200)]
for/while (...) { return if  } should be interpreted as 'list'

15 years agoPut grep/map tests into their own test file
Vincent Pit [Fri, 8 Aug 2008 19:54:50 +0000 (21:54 +0200)]
Put grep/map tests into their own test file

15 years agoThe right method to get the number of keys from a B::HV is ->KEYS
Vincent Pit [Fri, 8 Aug 2008 19:47:52 +0000 (21:47 +0200)]
The right method to get the number of keys from a B::HV is ->KEYS

15 years agoFix handling of partial returns in lists
Vincent Pit [Fri, 8 Aug 2008 19:43:41 +0000 (21:43 +0200)]
Fix handling of partial returns in lists

15 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 ; }) { ... }

15 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

15 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

15 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

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

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

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

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

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

15 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

15 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

15 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

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

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

15 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

15 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

15 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

15 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

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

15 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

15 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

15 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

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

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

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

15 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

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

15 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

15 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

15 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

15 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 { }

15 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)

15 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

15 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

15 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