Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: rakudo/rakudo
head fork: rakudo/rakudo
This comparison is big! We're only showing the most recent 250 commits
Commits on Jan 18, 2013
timo timo when a parent class doesn't exist, throw X::Inheritance::UnknownParent d8cc616
timo timo when a parent class isn't known, search through all blocks (WIP) 0dad898
timo timo these hacks are no longer needed ad8449f
timo timo this code caused strange exceptions:
Method 'ast' not found for invocant of class 'String'
timo timo some ineffective faffing about. d270cb1
timo timo fix the rethrow and message. thanks jnthn++ 3825b6f
Commits on Jan 19, 2013
timo timo reinstate the give-up-early code. fcc4e4e
timo timo whitespace fixes for UnknownParent exception. 119e3ba
timo timo new threshold logic for levenshtein
it's complicated, so it must be good, right?
timo timo changing the case of a letter costs 0.5 9d605f7
timo timo switching two adjacent letters costs 1 instead of 2. 8f0e920
timo timo factor out $achar, $bchar 80fc56a
timo timo hyphens and underscores are cheap. 6e2ef03
timo timo skip the name of the class itself. 0d60f32
timo timo quote all the symbols in UnknownParent exception. c05a587
timo timo fix the seen array cd74784
timo timo the lower bound code is flawed in some way. 6c48f3b
timo timo add an empty line after the suggestions. 128ad79
timo timo changing sigils is cheap, too. 1a77e66
timo timo the bound check was wrong. e29f2c9
timo timo factored out levenshtein evaluator code e220768
timo timo suggest variables for X::Undeclared. 20d38ca
Jonathan Worthington jnthn Fix parsing of 'say "$a!"'. e80cfd6
timo timo suggest similar named routines for undeclared routines. e3ec003
timo timo a dot was missing. a76e80d
timo timo factor out candidate selection heuristic. 134be29
Jonathan Worthington jnthn Merge pull request #95 from timo/levenshtein
Use Levenshtein to suggest variables/routines/superclasses
timo timo don't ask "did you mean" for 0 suggested routines. 108e37f
Tobias Leich FROGGS Merge pull request #96 from timo/levenshtein
don't ask "did you mean" for 0 suggested routines.
Commits on Jan 20, 2013
timo timo abort after finding 20 results of any quality. bebe8f9
timo timo factor out suggest_typename d8df9e5
timo timo added X::Parameter::InvalidType with suggestions. 0fd030a
timo timo abort after 1000 fails, too. 22e7c10
timo timo actually abort after 1000 tries now. 933d422
timo timo Throw Inheritance::SelfInherit. 84271dd
Will Coleda coke Merge pull request #98 from timo/levenshtein
More Levenshtein stuff:types in parameters. code cleanups. Self-Inherit error.
Jonathan Worthington jnthn Update 6model header and bump NQP_REVISION.
This tracks the REPR API change, and will allow Rakudo to make use of
it (will happen in future commits).
Jonathan Worthington jnthn Add missing dependency. 2752787
Jonathan Worthington jnthn Start using new REPR compose protocol. 35b2a92
Commits on Jan 21, 2013
Tobias Leich FROGGS RT #116224, Str.match and Str.subst set $/
In case the pattern is a regex match() and subst() will set $/.
If it cant match, $/ will be a #<failed_match>.
Setting $/ is protected by "try" because it might be readonly.
Commits on Jan 22, 2013
Tobias Leich FROGGS Merge branch 'froggs_multibyte' of into nom a26956d
Commits on Jan 23, 2013
Tobias Leich FROGGS proper return value for smartmatching against a substitution
We will return True if there was a match, otherwise False.
If the rhs is not a substitution, we still will call ACCEPTS
and return its result.
Tobias Leich FROGGS allow the use of $()
... which is a shorthand for $($/.ast // ~$/).
Tobias Leich FROGGS fix, so that $(0) isnt treated like $() 7707e42
Commits on Jan 24, 2013
Moritz Lenz moritz attempt to fix $socket.get with non-ASCII characters 0b5899a
Carl Mäsak masak [core/] implemented 943ecc5
Carl Mäsak masak switched .truncated-to to enum
The exception type X::Temporal::Truncation also goes away,
being replaced by ordinary parameter type checking.
Carl Mäsak masak [core/] implemented b49cbe0
timo timo Constructor::Positional tells what class it came from. b5a63c6
Tobias Leich FROGGS Merge pull request #99 from timo/positional_new_error
Constructor::Positional tells what class it came from.
Tobias Leich FROGGS bump nqp rev for $(...) in regexes d97ad43
Commits on Jan 25, 2013
Tobias Leich FROGGS pass type object to exception X::Constructor::Positional 6b0cea6
timo timo use @.suggestions.join instead of nqp::join. 014f8ca
timo timo add a token typo_typename and use it in "my" declarations. 9a889fd
timo timo throw the sorry anyway, since we did match a longname. 0ceef80
timo timo suggest names for --> Unknown, too. b97fb88
timo timo suggest Types, too for Undeclared::Symbols. 25d87ef
timo timo throw a sorry instead of an exception, remove old error. 0ae1e8d
Jonathan Worthington jnthn Merge pull request #100 from timo/typename_suggestions
Typename suggestions: in signatures, declarations, return types, ...
Commits on Jan 26, 2013
Jonathan Worthington jnthn Fix degenerate /< hello >/. c356d8e
timo timo unfold junctions at compile time sometimes. 433dca6
timo timo build a new "is_from_core". 8f80e88
timo timo fixed junction ops, fixed is_from_core, added %!foldable_junction 58646f3
timo timo the optimisation works for while/until, too. cccd1cb
Commits on Jan 27, 2013
timo timo a bit prettier code. 6b78bbc
timo timo allow any and all, use a hash for the outer check. caa06c2
timo timo simplify can_chain_junction_be_warped. 81dc550
timo timo bail out before doing any analysis
analysis in this case doesn't contribute anything helpful
to the process, unlike the "call to &foo with arguments (bar)
will never work" for example.
timo timo remove any/all again due to flattening woes 58dd3c7
timo timo why not make this a level 2 optimization? :) 9494956
Arne Skjærholt arnsholt Start integrating with native size support in NQP. f7a5a2f
Jonathan Worthington jnthn Merge pull request #101 from timo/junction-opt
Partially inline junctions in bool context at compile time
Moritz Lenz moritz mark some numeric operators as pure a1bcaa6
Commits on Jan 28, 2013
Arne Skjærholt arnsholt Fix braino. NativeHOW sent bad data to the REPR compose. c7fe112
Commits on Jan 29, 2013
Moritz Lenz moritz reverse order of <perl vendor site> dirs in @*INC
we do not have to repeat all of the mistakes Perl 5 has made.
Arne Skjærholt arnsholt Merge branch 'nom' into dyncall-sized-num e079812
Commits on Jan 30, 2013
Moritz Lenz moritz update ChangeLog b3fc32a
Jonathan Worthington jnthn Bump NQP_REVISION for REPL improvements. 9dfa827
Jonathan Worthington jnthn Support lexical type introspection. 0fd4ee8
Jonathan Worthington jnthn Better REPL exception reporting; updates. 9ec0a59
Commits on Jan 31, 2013
Moritz Lenz moritz first shot at constant folding
so far it does nothing, but also breaks nothing. It seems that the multi dispatch call optimization comes first, and interferes with this one
Moritz Lenz moritz move constant folding code to the correct location; some small fixes cd64560
Commits on Feb 01, 2013
Moritz Lenz moritz Merge remote branch 'origin/nom' into constant-folding 03cce4d
Moritz Lenz moritz constant folding cleanup
* catch it when the routine to be folded errors out
* make sure to preseve namedness of named arguments
* remove debug output
=> all spectests pass!
Moritz Lenz update ChangeLog 33d8dd0
Jonathan Worthington jnthn Updates to work with latest NQP additions. 5e5a76f
Arne Skjærholt arnsholt Make NativeHOW set float as well as integer bitsize.
Since NativeHOW is used for all native types (int, num, str) we don't know a
priori whether we're setting the bitwidth of an int of a float. So we set
Moritz Lenz moritz Do not inline stuff that warns 8f39611
Moritz Lenz moritz mark more subs and ops as pure 6d5dc67
Commits on Feb 02, 2013
Arne Skjærholt arnsholt Update sixmodelobject.h. 80dc914
Commits on Feb 03, 2013
Moritz Lenz moritz Calculate each year's Rakudo releases
also fill up the dates for 2013.
Commits on Feb 05, 2013
Tobias Leich FROGGS move $( ~ ) into variable token
Contextualizers do work and litvar.t is parseable now.
Tobias Leich FROGGS bump NQP revision 0dda4c8
Commits on Feb 06, 2013
Moritz Lenz moritz constant-fold some range operators
the others cause the setting compilation to fail when constant-folded. Not sure yet why.
Commits on Feb 07, 2013
Jonathan Worthington jnthn Merge remote-tracking branch 'origin/dyncall-sized-num' into nom e59ba28
Jonathan Worthington jnthn Bump NQP_REVISION for natives improvements. fc3f0d8
Tobias Leich FROGGS remove circumfix:sym<sigil>
This was already moved to method variable.
Commits on Feb 09, 2013
Jonathan Worthington jnthn Make sure we call compose_repr early enough.
Should always call it before the first intantiation.
Jonathan Worthington jnthn Fix anonymous state variable regression. 7ad6e63
Solomon Foster colomon Add Cool.set and Cool.bag. d76f9b2
Jonathan Worthington jnthn Update to build on latest NQP.
REPR API additions force a fresh sixmodelobject.h, so also needed to
do an NQP_REVISION bump.
Commits on Feb 11, 2013
Jonathan Worthington jnthn Chase !cursor_start changes. 7e22a79
Commits on Feb 13, 2013
Jonathan Worthington jnthn Bump to an NQP with a build fix. 5a12919
Moritz Lenz moritz RT #107992: make $_ writable in -n/-p code fdbba70
Commits on Feb 14, 2013
Moritz Lenz moritz speed up eqv for Buf 8369e63
Moritz Lenz moritz [Configure] stop on unknown command line options, [Coke]++ 1e85ffd
Commits on Feb 16, 2013
Moritz Lenz moritz try to track void context in the optimizer
does not work yet, it seems to consider all string literals in void context.
No idea why :(
Moritz Lenz moritz be a bit less wrong about void context detection
still does not work at all :(
Moritz Lenz moritz fix logic error in void context detection
still has quite a fe false positives
Moritz Lenz moritz track declaration bits in the QAST d501814
Moritz Lenz moritz use %!worrying mechanism for string constants in void context 9244510
Moritz Lenz moritz give string literal QAST nodes a Match object 7636b79
Moritz Lenz moritz detect Int and Num literals in void context
Does not trigger yet, probably because they have no .node info.
Also replace the constant QAST node with a null op
Moritz Lenz moritz give numeric constant QAST nodes a .node
now Int and Num literals warn in void context
Tobias Leich FROGGS Apparent subscript will be treated as regex
Throw the same warning as STD does for things like
@var[0], $var{a} and $var<a> in regexes.
Moritz Lenz moritz warn when inlining constant expressions in void context f6a731c
Commits on Feb 17, 2013
Moritz Lenz moritz steal match widening from rakudo-debugger
now "23 + 4" in sink context reports the whole expression, not just the operator
Moritz Lenz moritz Merge remote-tracking branch 'origin/optimizer-void-context' into nom df3a732
Moritz Lenz moritz update ChangeLog with new warnings d2795bb
Jonathan Worthington jnthn Support for nqp::const. 10dac76
Jonathan Worthington jnthn Some pir:: => nqp:: for the setting. b9ee89a
Commits on Feb 18, 2013
Moritz Lenz moritz warn about variables in sink context 018b73b
Moritz Lenz moritz add some type annotations to the Optimizer code 5101a54
Commits on Feb 19, 2013
Ricardo Signes rjbs make's args match S32 0d261a3
Tobias Leich FROGGS add array in regex interpolation feature
Arrays withinn regex will be treated as alternations of its elements.
Preceding | or || will change its behaviour, || means sequential alt-
ernation and | LTM, while the LTM is just a basic approach and needs
Moritz Lenz moritz Warn when pure expressions are used in sink context
even if the arguments are not constant, or the expression warns.
By explicit request from TimToady++ at
Moritz Lenz moritz awesomify sink context warning text 2f210be
Commits on Feb 20, 2013
Arne Skjærholt arnsholt Add int64 type. 6392d64
Commits on Feb 21, 2013
cotto cotto clean up some op definitions c3dc86e
Will Coleda coke Merge pull request #105 from cotto/nom
clean up some op definitions
Moritz Lenz moritz /./ and rx/./ literals now match against $_ in sink context cd95e40
Moritz Lenz moritz avoid sinking of state initializers 5dfb733
timo timo turn LTA error for coercive type declarations into NYI. 9c59a13
Commits on Feb 22, 2013
Moritz Lenz moritz update ChangeLog a763a18
Tadeusz Sośnierz tadzik [release] bump NQP revision 256339c
Tadeusz Sośnierz tadzik [release] bump VERSION c89dd87
Tadeusz Sośnierz tadzik [release] Add a new release announcement 78d2a2a
Tadeusz Sośnierz tadzik Update the release guide f67e101
Patrick R. Michaud pmichaud Some formatting updates to 2013.02 announcement. 42f8ead
Moritz Lenz moritz [docs] update the download step in the release guide 483ce86
Commits on Feb 23, 2013
Tobias Leich FROGGS interpolation of e.g. regexes in arrays in regexes c255f1d
Moritz Lenz moritz bump VERSION and NQP_REVISION to 2013.02.1
this gets us non-broken native call suport
Tobias Leich FROGGS force regexes in array to match at pos 0 only ff2ceee
Moritz Lenz moritz switch type name gistification from Type() to (Type) cfee628
Commits on Feb 24, 2013
Jonathan Worthington jnthn Fix an incorrect package name.
Not sure how this ever worked before; fixes the failing tests.
Tobias Leich FROGGS bump nqp revision 80f798b
Moritz Lenz moritz Merge remote-tracking branch 'origin/agressive-sink-warnings' into nom b205e66
Commits on Feb 25, 2013
Jonathan Worthington jnthn Tweak an error message; TimToady++. 4d9c34a
Moritz Lenz moritz [docs] release announcements in markdown
* update release_guide
* add a template for the announcement for next month, provided by uvtc++

the format we use is quite close to markdown already, and writing it
in proper markdown makes them display nicely on github, and easier to
translate to HTML
Commits on Feb 26, 2013
Jonathan Worthington jnthn Updates to work with latest HLL::Compiler.
Makes things a little cleaner, by not coupling to the backend stages
at all. Should cut out one bit of what the --target=pbc support had
to update.
Commits on Feb 27, 2013
Jonathan Worthington jnthn Be sure to use line info cache. c2910e2
Moritz Lenz moritz README: update download location for star packages f4e96b0
Commits on Feb 28, 2013
Moritz Lenz run S02-magicals/vm.t, timotimo++ 22b3cf3
Jonathan Worthington jnthn Remove bogus coercion from Cool.substr.
Found by labster++.
Commits on Mar 01, 2013
Jonathan Worthington jnthn Eliminate a no-longer-needed hack. a72f82d
Jonathan Worthington jnthn Eliminate pir:: usage in Perl6::Grammar. edeeaf3
Jonathan Worthington jnthn Eliminate pir:: in Perl6::Actions. 6ce3130
Jonathan Worthington jnthn Turn some QAST::VM into QAST::Op. 680d86a
Jonathan Worthington jnthn Some pir:: => nqp:: in Perl6::World. 2303d19
Jonathan Worthington jnthn Eliminate some property usages. 6f5cfc1
Jonathan Worthington jnthn Some pir:: => nqp:: in BOOTSTRAP. 40069f9
Commits on Mar 02, 2013
Jonathan Worthington jnthn Toss dead code. ec1c81a
Jonathan Worthington jnthn Remove redundant op mappings. 0087ce6
Jonathan Worthington jnthn Toss two dead ops. 7de7725
Tobias Leich FROGGS bump nqp rev for cclass subtractions 82de32e
Tobias Leich FROGGS bump nqp revision 7a41b98
Tobias Leich FROGGS RT #116979 check for variable in regex assertions 123dfa3
Commits on Mar 03, 2013
Patrick R. Michaud pmichaud Have Rat.perl return decimal numbers if denominator is normalizable t…
…o a power of 10. Fixes RT #117013.
Tobias Leich FROGGS RT #77410 bump nqp rev for :ignorecase in character classes 87ad7c6
Commits on Mar 04, 2013
kboga kboga pir::repr_clone__PP -> nqp::clone 34a7973
kboga kboga pir::shr__0II -> nqp::bitshiftr_i baf0f5e
kboga kboga pir::find_dynamic_lex__Ps -> nqp::getlexdyn 74b7f2a
kboga kboga pir::getstdin__P -> nqp::getstdin 789a9c9
kboga kboga pir::getstdout__P -> nqp::getstdout 793ff48
kboga kboga pir::getstderr__P -> nqp::getstderr 6baa174
kboga kboga pir::set_who__0PP -> nqp::setwho 62f5bfa
kboga kboga pir::compreg__Ps -> nqp::getcomp 1208feb
kboga kboga pir::set_container_spec__vPPsP -> nqp::setcontspec 35ec5b7
kboga kboga pir::repr_get_primitive_type_spec__IP -> nqp::objprimspec f29a119
kboga kboga pir::nqp_decontainerize__PP -> nqp::decont c369f0e
kboga kboga pir::set_boolification_spec__0PiP -> nqp::setboolspec 392f208
kboga kboga pir::repr_type_object_for__PPS -> nqp::newtype 014e156
kboga kboga pir::set_method_cache_authoritativeness__vPi -> nqp::setmethcacheauth 5d36bdf
kboga kboga pir::publish_method_cache__0PP -> nqp::setmethcache 4ccfdba
kboga kboga pir::set_hll_global__1SP -> nqp::bindcurhllsym 238b1bf
kboga kboga pir::get_hll_global__Ps -> nqp::getcurhllsym be75b01
kboga kboga pir::setattribute__vPPsP -> nqp::bindattr d5c6fa7
kboga kboga pir::load_bytecode__vs -> nqp::loadbytecode 017f093
kboga kboga pir::nqp_disable_sc_write_barrier__v -> nqp::scwbdisable 5b7786b
kboga kboga pir::nqp_enable_sc_write_barrier__v -> nqp::scwbenable bebba55
kboga kboga pir ctx -> nqp ctx 5d306d9
kboga kboga pir::set_method_cache_authoritativeness__0Pi -> nqp::setmethcacheauth c85d3aa
kboga kboga publish_type_check_cache__0PP -> nqp::settypecache 3b004e5
kboga kboga pir::exit__0i -> nqp::exit ce18272
Commits on Mar 06, 2013
Tobias Leich FROGGS bump nqp revision, this unbreaks JSON::Tiny c315c8b
Tobias Leich FROGGS bump NQP revision fec64aa
Patrick R. Michaud pmichaud A better factoring of Rat.perl. 90bd93d
Patrick R. Michaud pmichaud Rat.perl should provide angle brackets around fractional forms. 11157e9
Commits on Mar 08, 2013
Jonathan Worthington jnthn Add missing shellwords postcircumfixes.
Resolves oops-hyper parse bug due to them being missing, and as a bonus
means we now support them.
Jonathan Worthington jnthn Generalize "can we augment this" checking.
Make it an archetype, and then opt classes in. Also tweak the exception
type that is used to be more general, and try to make the wording of it
general enough for all the cases we could get it, so it won't mislead.
Jonathan Worthington jnthn Align user-defined circumfix parsing with STD.
Means that we now use semilist (thus getting whitespace righter) and
set a stopper appropriately.
Jonathan Worthington jnthn Forbid null operators.
Adds a typed exception for them also.
Jonathan Worthington jnthn Add coloncircumfix.
Brings us further in line with STD's approach, and gets rid of a
misleading message.
Jonathan Worthington jnthn Sync some errors with STD. 8c0f875
Commits on Mar 09, 2013
thundergnat thundergnat fix error message typo; associtiave -> associative baa9b00
Jonathan Worthington jnthn Sync integer parsing warnings/errors with STD.
Of note, the one that warns about leading 0 not being octal is now
Jonathan Worthington jnthn Merge pull request #111 from thundergnat/nom
Update  Fix error message typo; associtiave -> associative
Jonathan Worthington jnthn Add $*IN_META and use it as STD does. d9dc404
Jonathan Worthington jnthn Align end of statement handling with STD.
Fixes RT#102690 and maybe more.
Jonathan Worthington jnthn Port most of STD's infix:lambda.
Gives good errors for if(1 < 2) { ... } style mistakes.
Commits on Mar 10, 2013
Jonathan Worthington jnthn Turn off check giving false positives for now. 5963753
Jonathan Worthington jnthn One pir:: => nqp::. 8d510e3
Commits on Mar 11, 2013
timo timo autothread all or none before any or one. d4e55d0
Tobias Leich FROGGS use an NFA to sort out listy things
This also fixes RT #117091, so :ignorecase is respected in assertions too.
Jonathan Worthington jnthn Merge pull request #113 from timo/autothread_order
autothread all or none before any or one.
Jonathan Worthington jnthn Add STD message for 'else if'. af61c17
timo timo typed exception X::Syntax::Malformed::Elsif. ed1dd58
Jonathan Worthington jnthn Some ChangeLog for March release work so far. 8104125
Commits on Mar 12, 2013
timo timo advise on "elif", too 838e03d
Gerhard R. gerdr Change IO::Socket::INET.get to return undef on EOF, matching IO seman…

Also make sure that the line separator is encoded correctly.

Now, if only someone could show me a good way to make the transcoding happen
at attribute assignment and not at every readline call...
Gerhard R. gerdr Fix IO::Socket::INET.lines - now with actual looping f54e210
Moritz Lenz moritz Merge branch 'fix-socket-get-2' of in…
…to nom
timo timo this makes &?ROUTINE available in regex foo { ... }. 73ca26a
timo timo don't give &?ROUTINE to /.../ regexes. f440d46
Commits on Mar 13, 2013
Jonathan Worthington jnthn Merge pull request #116 from timo/ROUTINE_in_regex
Routine in regex/token/rule
Jonathan Worthington jnthn Merge pull request #114 from timo/typed_exc_elsif
typed exception X::Syntax::Malformed::Elsif.
Jonathan Worthington jnthn Merge pull request #103 from rjbs/nom
make's args match S32
timo timo raise X::Method::NotFound even for '' methods. 103481f
Jonathan Worthington jnthn Merge pull request #117 from timo/typed_exc_empty_method
raise X::Method::NotFound even for '' methods.
Commits on Mar 20, 2013
Tobias Leich FROGGS just for testing purposes 9b75a65
Tobias Leich FROGGS MAIN is always the current language; add P5/P6 to debug output c8a0d35
Tobias Leich FROGGS Perl 5 sub is called now, even if the param is borken b68b046
Tobias Leich FROGGS silence debug output f283d43
Tobias Leich FROGGS make <term> within method termish 4934854
Tobias Leich FROGGS borrow token integer from Perl 6, say(42) and say(3.14) is working now fd0d899
Tobias Leich FROGGS make say("abc") work f1d69ae
Commits on Mar 21, 2013
Tobias Leich FROGGS cleanup and attempt to support switching to v5 and back cfb72f2
Tobias Leich FROGGS say(1 + 2.5) works 7fdfc62
Tobias Leich FROGGS if/unless-conditions ok 2db8483
Tobias Leich FROGGS changed last accourance of pblock to sblock, so that else-blocks are …
…fine now
Tobias Leich FROGGS remove required whitespace to allow proper elsif-blocks 8956de4
Commits on Mar 22, 2013
Tobias Leich FROGGS variable declaration works 604d2f2
Tobias Leich FROGGS fixing ENDSTMT and sub call without parens 8c1bb5f
Tobias Leich FROGGS statement modifier loops ok 888f86c
Tobias Leich FROGGS simple for loop ok 5392638
Tobias Leich FROGGS method call works 56f3f77
Tobias Leich FROGGS we can declare packages now 6d09aef
Commits on Mar 23, 2013
Tobias Leich FROGGS strip all occourances of colonpair 0206db8
Tobias Leich FROGGS make subroutines work 80e4d98
Tobias Leich FROGGS v5 doesnt have colonpair 2d1a2cf