people treat rust like a serious language and then i see shit like
-
people treat rust like a serious language and then i see shit like
// macro_rules! split { ( $ __cb : ident ! { $ ( $ __cb_arg : tt ) * } ; @ acc [ $ ( $ args : tt ) * ] [ ] [ ] ) => { $ __cb ! { $ ( $ __cb_arg ) * [ $ ( $ args ) * ] } } ; ( $ __cb : ident ! { $ ( $ __cb_arg : tt ) * } ; @ acc [ $ ( $ prev : tt ) * ] [ $ ( $ cur_arg : tt ) * ] [ , $ ( $ rest : tt ) * ] ) => { split ! { $ __cb ! { $ ( $ __cb_arg ) * } ; @ acc [ $ ( $ prev ) * ( $ ( $ cur_arg ) * ) ] [ ] [ $ ( $ rest ) * ] } } ; ( $ __cb : ident ! { $ ( $ __cb_arg : tt ) * } ; @ acc [ $ ( $ prev : tt ) * ] [ $ ( $ cur_arg : tt ) * ] [ $ cur : tt $ ( $ rest : tt ) * ] ) => { split ! { $ __cb ! { $ ( $ __cb_arg ) * } ; @ acc [ $ ( $ prev ) * ] [ $ ( $ cur_arg ) * $ cur ] [ $ ( $ rest ) * ] } } ; ( $ __cb : ident ! { $ ( $ __cb_arg : tt ) * } ; @ run $ ( $ t : tt ) * ) => { split ! { $ __cb ! { $ ( $ __cb_arg ) * } ; @ acc [ ] [ ] [ $ ( $ t ) * , ] } } ; } // macro_rules_plus! { @ modCb ( aaaa ; macro_rules_plus_mods ; ( [syntax_mod! syntax] ) ; ) [ ] ( ) ( { ( __globals__ ) ( $abc:tt* ) { stringify!($abc*) } } ) ( ( ) ) ( => { } ) }
cc: @[email protected] for... whatever the fuck this is... -
@[email protected] @[email protected] what? you don't like macros that generate macros?
-
:neocat_floof_happy: lexi replied to Amber last edited by
@puppygirlhornypost2 thats the fun part: when writing macros that write macros, the first macro has whitespace and the second macro processing it also adds whitespace so the macro expansions (which are used for debugging and only emitted as an artifact) look like That
-
@[email protected] @[email protected] I love them I just find that to be the most atrocious line of code I've ever seen there's whitespace everywhere and when displayed in wrap around...
-
:neocat_floof_happy: lexi replied to :neocat_floof_happy: lexi last edited by
@puppygirlhornypost2 (also we're getting Deep into Deeply unserious and Entirely silly code here lol)
-
Amberreplied to :neocat_floof_happy: lexi last edited by
@[email protected] i mean yeah i know it was a shitpost lol
-
@puppygirlhornypost2 @julia @lexi reminds me of those discord bios that are meant to look like stars
-
:neocat_floof_happy: lexi replied to Inderix last edited by
@inderix @puppygirlhornypost2 @julia can we pretend that airplanes in the night sky horrible rust macro expansions are like shootin' stars
-