Jump to content

Search results

View (previous 20 | ) (20 | 50 | 100 | 250 | 500)
  • analyzed by the parser. Depending upon the type of parser that should be generated, these routines may construct a parse tree (or abstract syntax tree), or...
    41 KB (5,129 words) - 00:57, 18 May 2025
  • about any parsing ambiguities, and generates a parser that reads sequences of tokens and decides whether the sequence conforms to the syntax specified...
    22 KB (2,306 words) - 11:15, 14 June 2025
  • Thumbnail for Bash (Unix shell)
    arithmetic syntax $[...] is deprecated in favor of $((...)) or ((...)), as appropriate; Use of ^ as a pipeline is deprecated in favor of |; Any uses of expr or...
    91 KB (6,882 words) - 22:48, 11 June 2025
  • $object->method() : null; An example of the syntax of a PHP switch statement is as follows: switch (expr) { case 0: // statements; break; case 1: // statements;...
    34 KB (3,597 words) - 14:55, 26 October 2024
  • OMeta (category Parser generators)
    MulExpr:y -> (x - y) | MulExpr, MulExpr = MulExpr:x ‘*’ primExpr:y -> (x * y) | MulExpr:x ‘/’ primExpr:y -> (x / y) | PrimExpr, PrimExpr = ‘(‘ Expr:x ‘)’...
    18 KB (2,284 words) - 13:28, 26 March 2025
  • Thumbnail for Nim (programming language)
    funcAbs: Expr of Application: funcApp, argApp: Expr func eval(expr: Expr, context: var Table[Ident, Value]): Value = case expr.kind of Literal: return expr.litIdent...
    57 KB (5,735 words) - 19:17, 5 May 2025
  • Camlp4 (category Parsing)
    loading a collection of compiled modules which define a parser as well as a pretty-printer: the parser converts an input program into an internal representation...
    8 KB (1,029 words) - 22:50, 8 October 2024
  • Thumbnail for Regular expression
    including lex, sed, AWK, and expr, and in other programs such as vi, and Emacs (which has its own, incompatible syntax and behavior). Regexes were subsequently...
    97 KB (8,871 words) - 12:07, 26 May 2025
  • Thumbnail for Tcl
    is performed by expr set x 1 set sum [expr {$x + 2 + 3 + 4 + 5}]; # $x is not substituted before passing the parameter to expr; # expr substitutes 1 for...
    38 KB (4,062 words) - 09:49, 18 April 2025
  • Seed7 (category Extensible syntax programming languages)
    the Seed7 Structured Syntax Description (S7SSD). A S7SSD statement like $ syntax expr: .(). + .() is -> 7; specifies the syntax of the + operator. The...
    14 KB (1,210 words) - 02:38, 4 May 2025
  • Thumbnail for Conditional (computer programming)
    .] ELSE exprDflt END works like if ... else if ... else, whereas a "simple CASE" expression: CASE expr WHEN val1 THEN expr1 [...] ELSE exprDflt END works...
    38 KB (4,024 words) - 14:07, 24 May 2025
  • META II (category Parser generators)
    naive recursive descent parser compiler it will also ensure that the associativity of arithmetic operations is correct: expr = term $('+' term .OUT('ADD')...
    10 KB (1,130 words) - 07:20, 26 March 2025
  • statement IF expr THEN line number GOTO expr GOSUB expr RETURN DIM var1(expr1), var2(expr2) ... REM text END POKE expr1, expr2 CALL expr Functions: ABS(),...
    44 KB (5,821 words) - 01:11, 23 May 2025
  • ternary conditional operator is a ternary operator that is part of the syntax for basic conditional expressions in several programming languages. It is...
    55 KB (6,418 words) - 15:01, 12 May 2025
  • Thumbnail for DIGITAL Command Language
    F$CVTIME — obtain date/time info, e.g. YEST_DOW=F$EXTRACT(0,3,F$CVTIME(DATE_EXPR,,"WEEKDAY")) F$ELEMENT(0," ",ABC_DEF) — for ABC_DEF = "ABC DEF" would return...
    11 KB (1,169 words) - 22:37, 2 May 2025
  • continues; in this case, calling an IL subroutine that starts at label EXPR, which parses an expression. In Tiny BASIC, GOTO X*10+100 (a computed GO TO) is...
    69 KB (6,149 words) - 01:04, 23 May 2025
  • Thumbnail for Smalltalk
    Smalltalk (redirect from Smalltalk syntax)
    is written and implemented as expr ifTrue: [statements to evaluate if expr] ifFalse: [statements to evaluate if not expr] True methods for evaluation ifTrue:...
    81 KB (9,727 words) - 19:09, 10 May 2025
  • type-name variable-name syntax. For example, C can accept declarations at the start of any block, not just the outer block of a function. Another, more subtle...
    45 KB (6,136 words) - 21:44, 5 May 2025
  • i]<10} { puts "$i squared is [expr $i*$i]" } } eval $foo bs has an eval function that takes one string argument. The function is both an expression evaluator...
    24 KB (2,948 words) - 20:35, 24 May 2025
  • Thumbnail for BASIC interpreter
    support such expressions requires implementing a recursive descent parser. This parser can be implemented in a number of ways: As a virtual machine, as...
    115 KB (14,112 words) - 14:22, 2 June 2025
View (previous 20 | ) (20 | 50 | 100 | 250 | 500)