Changeset 15338
- Timestamp:
- 02/24/07 02:46:39 (21 months ago)
- Files:
-
- 2 modified
-
READTOO (modified) (1 diff)
-
src/perl6/Perl-6.0.0-STD.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
READTOO
r15337 r15338 158 158 159 159 A language-based approach to unifying events and threads 160 [mentioned by TimToady 2007-Feb-23]160 [mentioned by audreyt 2007-Feb-09] 161 161 http://www.seas.upenn.edu/~lipeng/homepage/unify.html -
src/perl6/Perl-6.0.0-STD.pm
r15329 r15338 113 113 114 114 # "epsilon" tighter than terminator 115 my$LOOSEST = %LOOSEST<prec>;115 constant $LOOSEST = %LOOSEST<prec>; 116 116 117 117 role PrecOp[*%defaults] { … … 175 175 176 176 token category 177 { <sym: category> }177 { <sym: category> } 178 178 proto token category 179 { }180 181 token category 182 { <sym: sigil> }179 { } 180 181 token category 182 { <sym: sigil> } 183 183 proto token sigil 184 { }185 186 token category 187 { <sym: twigil> }184 { } 185 186 token category 187 { <sym: twigil> } 188 188 proto token twigil 189 { }190 191 token category 192 { <sym: special_variable> }189 { } 190 191 token category 192 { <sym: special_variable> } 193 193 proto token special_variable 194 { }195 196 token category 197 { <sym: nameroot> }194 { } 195 196 token category 197 { <sym: nameroot> } 198 198 proto token nameroot 199 { }200 201 token category 202 { <sym: version> }199 { } 200 201 token category 202 { <sym: version> } 203 203 proto token version 204 { }205 206 token category 207 { <sym: term> }204 { } 205 206 token category 207 { <sym: term> } 208 208 proto token term 209 { }210 211 token category 212 { <sym: quote> }209 { } 210 211 token category 212 { <sym: quote> } 213 213 proto token quote 214 { }215 216 token category 217 { <sym: prefix> }214 { } 215 216 token category 217 { <sym: prefix> } 218 218 proto token prefix 219 is defequiv(%symbolic_unary) # XXX not sure how used yet220 { }221 222 token category 223 { <sym: infix> }219 is defequiv(%symbolic_unary) # XXX not sure how used yet 220 { } 221 222 token category 223 { <sym: infix> } 224 224 proto token infix 225 is defequiv(%additive)226 { }227 228 token category 229 230 { <sym: postfix> }225 is defequiv(%additive) 226 { } 227 228 token category 229 230 { <sym: postfix> } 231 231 proto token postfix 232 is defequiv(%autoincrement)233 { }234 235 token category 236 { <sym: dotty> }232 is defequiv(%autoincrement) 233 { } 234 235 token category 236 { <sym: dotty> } 237 237 proto token dotty (:$endsym is context = / <?unsp>? /) 238 { }239 240 token category 241 { <sym: circumfix> }238 { } 239 240 token category 241 { <sym: circumfix> } 242 242 proto token circumfix 243 { }244 245 token category 246 { <sym: postcircumfix> }243 { } 244 245 token category 246 { <sym: postcircumfix> } 247 247 proto token postcircumfix 248 { }249 250 token category 251 { <sym: regex_metachar> }248 { } 249 250 token category 251 { <sym: regex_metachar> } 252 252 proto token regex_metachar 253 { }254 255 token category 256 { <sym: regex_backslash> }253 { } 254 255 token category 256 { <sym: regex_backslash> } 257 257 proto token regex_backslash 258 { }259 260 token category 261 { <sym: regex_assertion> }258 { } 259 260 token category 261 { <sym: regex_assertion> } 262 262 proto token regex_assertion 263 { }264 265 token category 266 { <sym: regex_mod_internal> }263 { } 264 265 token category 266 { <sym: regex_mod_internal> } 267 267 proto token regex_mod_internal 268 { }268 { } 269 269 270 270 #token category 271 # { <sym: regex_mod_external> }271 # { <sym: regex_mod_external> } 272 272 #proto token regex_mod_external (:$endsym is context = / <?before \(> <postcircumfix> /) 273 # { }274 275 token category 276 { <sym: quote_mod> }273 # { } 274 275 token category 276 { <sym: quote_mod> } 277 277 proto token quote_mod 278 { }279 280 token category 281 { <sym: q_backslash> }278 { } 279 280 token category 281 { <sym: q_backslash> } 282 282 proto token q_backslash 283 { }284 285 token category 286 { <sym: qq_backslash> }283 { } 284 285 token category 286 { <sym: qq_backslash> } 287 287 proto token qq_backslash 288 { }289 290 token category 291 { <sym: trait_verb> }288 { } 289 290 token category 291 { <sym: trait_verb> } 292 292 proto token trait_verb (:$endsym is context = / \s+ <nofat> /) 293 { }294 295 token category 296 { <sym: trait_auxiliary> }293 { } 294 295 token category 296 { <sym: trait_auxiliary> } 297 297 proto token trait_auxiliary (:$endsym is context = / \s+ <nofat> /) 298 { }299 300 token category 301 { <sym: type_declarator> }298 { } 299 300 token category 301 { <sym: type_declarator> } 302 302 proto token type_declarator (:$endsym is context = / >> <nofat> /) 303 { }304 305 token category 306 { <sym: scope_declarator> }303 { } 304 305 token category 306 { <sym: scope_declarator> } 307 307 proto token scope_declarator (:$endsym is context = / >> <nofat> /) 308 { }309 310 token category 311 { <sym: package_declarator> }308 { } 309 310 token category 311 { <sym: package_declarator> } 312 312 proto token package_declarator (:$endsym is context = / >> <nofat> /) 313 { }314 315 token category 316 { <sym: routine_declarator> }313 { } 314 315 token category 316 { <sym: routine_declarator> } 317 317 proto token routine_declarator (:$endsym is context = / >> <nofat> /) 318 { }319 320 token category 321 { <sym: statement_prefix> }318 { } 319 320 token category 321 { <sym: statement_prefix> } 322 322 proto rule statement_prefix (:$endsym is context = / >> <nofat> /) 323 { }324 325 token category 326 { <sym: statement_control> }323 { } 324 325 token category 326 { <sym: statement_control> } 327 327 proto rule statement_control (:$endsym is context = / \s <nofat> /) 328 { }329 330 token category 331 { <sym: statement_mod_cond> }328 { } 329 330 token category 331 { <sym: statement_mod_cond> } 332 332 proto rule statement_mod_cond (:$endsym is context = / >> <nofat> /) 333 { }334 335 token category 336 { <sym: statement_mod_loop> }333 { } 334 335 token category 336 { <sym: statement_mod_loop> } 337 337 proto rule statement_mod_loop (:$endsym is context = / >> <nofat> /) 338 { }339 340 token category 341 { <sym: infix_prefix_meta_operator> }338 { } 339 340 token category 341 { <sym: infix_prefix_meta_operator> } 342 342 proto token infix_prefix_meta_operator 343 { }344 345 token category 346 { <sym: infix_postfix_meta_operator> }343 { } 344 345 token category 346 { <sym: infix_postfix_meta_operator> } 347 347 proto token infix_postfix_meta_operator 348 { }349 350 token category 351 { <sym: postfix_prefix_meta_operator> }348 { } 349 350 token category 351 { <sym: postfix_prefix_meta_operator> } 352 352 proto token postfix_prefix_meta_operator 353 { }354 355 token category 356 { <sym: prefix_postfix_meta_operator> }353 { } 354 355 token category 356 { <sym: prefix_postfix_meta_operator> } 357 357 proto token prefix_postfix_meta_operator 358 { }359 360 token category 361 { <sym: prefix_circumfix_meta_operator> }358 { } 359 360 token category 361 { <sym: prefix_circumfix_meta_operator> } 362 362 proto token prefix_circumfix_meta_operator 363 { }363 { } 364 364 365 365 # Lexical routines
