jsbarretto,
@jsbarretto@social.coop avatar

@janriemer Recursion couldn't be easier!

let a = recursive(|a| /* definition of a */);

Make sure you don't end up with accidental left recursion though. Check out the docs for the new pratt parser combinator if you want a really neat way to do complex expression parsing.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • rust
  • DreamBathrooms
  • ethstaker
  • osvaldo12
  • magazineikmin
  • GTA5RPClips
  • rosin
  • mdbf
  • Youngstown
  • Durango
  • slotface
  • everett
  • kavyap
  • InstantRegret
  • thenastyranch
  • provamag3
  • tacticalgear
  • modclub
  • cisconetworking
  • tester
  • cubers
  • khanakhh
  • ngwrru68w68
  • normalnudes
  • megavids
  • anitta
  • Leos
  • JUstTest
  • lostlight
  • All magazines