Home
last modified time | relevance | path

Searched +refs:parsed +refs:if +refs:tst (Results 1 – 25 of 387) sorted by relevance

12345678910>>...16

/dports/lang/racket/racket-8.3/src/expander/compile/
H A Dexpr.rkt67 [(parsed-if? p)
68 (define tst-e (compile (parsed-if-tst p) #f #f))
69 ;; Ad hoc optimization of `(if #t ... ...)` or `(if #f ... ...)`
72 [(eq? (correlated-e tst-e) #t) (compile (parsed-if-thn p) name result-used?)]
73 [(eq? (correlated-e tst-e) #f) (compile (parsed-if-els p) name result-used?)]
76 ,tst-e
77 ,(compile (parsed-if-thn p) name result-used?)
78 ,(compile (parsed-if-els p) name result-used?)))])]
157 (if as-method
197 (define mpi (if (parsed-top-id? p)
[all …]
/dports/lang/racket-minimal/racket-8.3/src/expander/compile/
H A Dexpr.rkt67 [(parsed-if? p)
68 (define tst-e (compile (parsed-if-tst p) #f #f))
69 ;; Ad hoc optimization of `(if #t ... ...)` or `(if #f ... ...)`
72 [(eq? (correlated-e tst-e) #t) (compile (parsed-if-thn p) name result-used?)]
73 [(eq? (correlated-e tst-e) #f) (compile (parsed-if-els p) name result-used?)]
76 ,tst-e
77 ,(compile (parsed-if-thn p) name result-used?)
78 ,(compile (parsed-if-els p) name result-used?)))])]
157 (if as-method
197 (define mpi (if (parsed-top-id? p)
[all …]
/dports/lang/racket-minimal/racket-8.3/src/expander/expand/
H A Dparsed.rkt14 (struct parsed-primitive-id parsed-id () #:authentic)
15 (struct parsed-top-id parsed-id () #:authentic)
19 (struct parsed-app parsed (rator rands) #:authentic)
20 (struct parsed-if parsed (tst thn els) #:authentic)
21 (struct parsed-set! parsed (id rhs) #:authentic)
24 (struct parsed-begin parsed (body) #:authentic)
25 (struct parsed-begin0 parsed (body) #:authentic)
26 (struct parsed-quote parsed (datum) #:authentic)
37 (struct parsed-#%declare parsed () #:authentic)
38 (struct parsed-require parsed () #:authentic)
[all …]
H A Dexpr.rkt85 (if (expand-context-to-parsed? ctx)
130 (if (expand-context-to-parsed? ctx)
379 (if (expand-context-to-parsed? ctx)
455 (if (expand-context-to-parsed? ctx)
495 (define-match m s '(if tst thn els))
499 (define exp-tst (expand (m 'tst) expr-ctx))
504 (if (expand-context-to-parsed? ctx)
505 (parsed-if rebuild-s exp-tst exp-thn exp-els)
508 (list (m 'if) exp-tst exp-thn exp-els)))))
522 (if (expand-context-to-parsed? ctx)
[all …]
H A Dcross-phase.rkt10 "parsed.rkt"
22 (define p (if (expanded+parsed? body)
23 (expanded+parsed-parsed body)
46 [(parsed-app? e)
79 (andmap parsed-#%variable-reference? (parsed-app-rands e)))
85 [(parsed-if? e)
86 (check-no-disallowed-expr (parsed-if-tst e))
87 (check-no-disallowed-expr (parsed-if-thn e))
88 (check-no-disallowed-expr (parsed-if-els e))]
138 [(parsed-id? id)
[all …]
/dports/lang/racket/racket-8.3/src/expander/expand/
H A Dparsed.rkt14 (struct parsed-primitive-id parsed-id () #:authentic)
15 (struct parsed-top-id parsed-id () #:authentic)
19 (struct parsed-app parsed (rator rands) #:authentic)
20 (struct parsed-if parsed (tst thn els) #:authentic)
21 (struct parsed-set! parsed (id rhs) #:authentic)
24 (struct parsed-begin parsed (body) #:authentic)
25 (struct parsed-begin0 parsed (body) #:authentic)
26 (struct parsed-quote parsed (datum) #:authentic)
37 (struct parsed-#%declare parsed () #:authentic)
38 (struct parsed-require parsed () #:authentic)
[all …]
H A Dexpr.rkt85 (if (expand-context-to-parsed? ctx)
130 (if (expand-context-to-parsed? ctx)
379 (if (expand-context-to-parsed? ctx)
455 (if (expand-context-to-parsed? ctx)
495 (define-match m s '(if tst thn els))
499 (define exp-tst (expand (m 'tst) expr-ctx))
504 (if (expand-context-to-parsed? ctx)
505 (parsed-if rebuild-s exp-tst exp-thn exp-els)
508 (list (m 'if) exp-tst exp-thn exp-els)))))
522 (if (expand-context-to-parsed? ctx)
[all …]
H A Dcross-phase.rkt10 "parsed.rkt"
22 (define p (if (expanded+parsed? body)
23 (expanded+parsed-parsed body)
46 [(parsed-app? e)
79 (andmap parsed-#%variable-reference? (parsed-app-rands e)))
85 [(parsed-if? e)
86 (check-no-disallowed-expr (parsed-if-tst e))
87 (check-no-disallowed-expr (parsed-if-thn e))
88 (check-no-disallowed-expr (parsed-if-els e))]
138 [(parsed-id? id)
[all …]
/dports/textproc/iksemel/iksemel-978b733/
H A DChangeLog10 * tst-sax.c: Test coverage for fixed bug
21 * tst-md5.c: Test coverage for fixed bug
250 * tools/iksperf.c: dom test now iks_delete()s the parsed tree
260 * test/tst-ikstack.c: tst-ikstack-str.c moved here.
365 this greatly reduces memory usage when data is parsed in very small
390 a non-zero value if there isn't enough memory.
400 parsed correctly.
443 * sax.c: new function iks_nr_lines(), returns how much lines parsed.
471 * sax.c: new function iks_nr_bytes(), returns how much bytes parsed.
472 * tst-sax.c, tst-dom.c: uses iks_nr_bytes() when reporting bugs.
[all …]
/dports/net-im/climm/climm-0.7.1/iksemel-1.4/
H A DChangeLog9 * tst-sax.c: Fix a va_arg bug with 64bit platforms.
212 * tools/iksperf.c: dom test now iks_delete()s the parsed tree
222 * test/tst-ikstack.c: tst-ikstack-str.c moved here.
327 this greatly reduces memory usage when data is parsed in very small
352 a non-zero value if there isn't enough memory.
362 parsed correctly.
405 * sax.c: new function iks_nr_lines(), returns how much lines parsed.
433 * sax.c: new function iks_nr_bytes(), returns how much bytes parsed.
434 * tst-sax.c, tst-dom.c: uses iks_nr_bytes() when reporting bugs.
440 * tst-filter.c: new framework.
[all …]
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/iksemel/
H A DChangeLog2 * tst-iks.c: test for new append/prepend functions added.
178 * tools/iksperf.c: dom test now iks_delete()s the parsed tree
188 * test/tst-ikstack.c: tst-ikstack-str.c moved here.
189 * test/tst-ikstack.c: alignment test added.
293 this greatly reduces memory usage when data is parsed in very small
328 parsed correctly.
371 * sax.c: new function iks_nr_lines(), returns how much lines parsed.
399 * sax.c: new function iks_nr_bytes(), returns how much bytes parsed.
400 * tst-sax.c, tst-dom.c: uses iks_nr_bytes() when reporting bugs.
406 * tst-filter.c: new framework.
[all …]
/dports/shells/ksh93/ast-93u/src/cmd/sort/
H A DRELEASE10 07-10-30 sort.tst,testsort.sh: export LC_ALL=C
16 sort.tst: fix -R% v format test
25 05-05-17 main.c: delay -l* => rslib() until all options parsed
33 sort.tst: add -k reclen:fieldlen:offset vs. -k .r -k .o.f tests
38 sort.tst: add -R% tests
47 01-04-19 sort.tst: add -s tests
56 sort.tst: add gnu tests; `b' is tricky
68 sfreserve() only if 1 S_ISREG() input file
/dports/shells/ksh93-devel/ast-cc1bca27/src/cmd/sort/
H A DRELEASE10 07-10-30 sort.tst,testsort.sh: export LC_ALL=C
16 sort.tst: fix -R% v format test
25 05-05-17 main.c: delay -l* => rslib() until all options parsed
33 sort.tst: add -k reclen:fieldlen:offset vs. -k .r -k .o.f tests
38 sort.tst: add -R% tests
47 01-04-19 sort.tst: add -s tests
56 sort.tst: add gnu tests; `b' is tricky
68 sfreserve() only if 1 S_ISREG() input file
/dports/lang/v/v-0.1.29/vlib/regex/
H A DREADME.md187 text := "tst: 01,23,45 ,56, 78"
239 found in [0, 21] => [tst: 01,23,45 ,56, 78]
528 …,1]` `i` index in the source string, `ch` the char parsed, `len` the length in byte of the char pa…
573 for c,tst in tests {
575 re_err, err_pos := re.compile(tst.query)
578 // print the query parsed with the groups ids
580 println("#${c:2d} query parsed: ${re.get_query()}")
584 start, end := re.match_string(tst.source)
586 println("#${c:2d} found in: [$start, $end] => [${tst.source[start..end]}]")
593 println("group ${gi/2:2d} :[${tst.source[re.groups[gi]..re.groups[gi+1]]}]")
[all …]
/dports/shells/ast-ksh/ast-ksh93v/src/cmd/sort/
H A DRELEASE14 07-10-30 sort.tst,testsort.sh: export LC_ALL=C
20 sort.tst: fix -R% v format test
29 05-05-17 main.c: delay -l* => rslib() until all options parsed
37 sort.tst: add -k reclen:fieldlen:offset vs. -k .r -k .o.f tests
42 sort.tst: add -R% tests
51 01-04-19 sort.tst: add -s tests
60 sort.tst: add gnu tests; `b' is tricky
72 sfreserve() only if 1 S_ISREG() input file
/dports/math/gap/gap-4.11.0/pkg/utils-0.69/tst/
H A Dgroups.tst3 #W groups.tst Utils Package
8 gap> ReadPackage( "utils", "tst/loadall.g" );;
135 gap> ## new in gapdev - the test 'im in im2' is parsed before the for loop
136 gap> ## so that im2 is an 'unbound global variable' if not declared first
141 > if not ForAll( imi, im -> ( im in im2 ) ) then
/dports/lang/guile2/guile-2.2.7/doc/ref/
H A Dapi-peg.texi49 end of the text parsed as @var{a}. Succeeds if both @var{a} and
78 at the end of the text parsed by the previous @var{a}. Succeeds if at
79 least one @var{a} was parsed.
122 be parsed.
416 nothing was parsed.
422 @code{peg:start}, nothing was parsed.
464 @deffn {Scheme Procedure} context-flatten tst lst
465 Takes a predicate @var{tst} and a list @var{lst}. Flattens @var{lst}
466 until all elements are either atoms or satisfy @var{tst}. If @var{lst}
467 itself satisfies @var{tst}, @code{(list lst)} is returned (this is a
[all …]
/dports/lang/guile/guile-3.0.7/doc/ref/
H A Dapi-peg.texi49 end of the text parsed as @var{a}. Succeeds if both @var{a} and
78 at the end of the text parsed by the previous @var{a}. Succeeds if at
79 least one @var{a} was parsed.
122 be parsed.
416 nothing was parsed.
422 @code{peg:start}, nothing was parsed.
464 @deffn {Scheme Procedure} context-flatten tst lst
465 Takes a predicate @var{tst} and a list @var{lst}. Flattens @var{lst}
466 until all elements are either atoms or satisfy @var{tst}. If @var{lst}
467 itself satisfies @var{tst}, @code{(list lst)} is returned (this is a
[all …]
/dports/shells/yash/yash-2.51/tests/
H A Dlineno-y.tst1 # lineno-y.tst: yash-specific test of the LINENO variable
158 # expansion is re-parsed as a command substitution.
207 readonly LINENO # yash updates LINENO even if it is readonly
H A Dcmdsub-p.tst1 # cmdsub-p.tst: test of command substitution for any POSIX-compliant shell
184 # error, even if it could have been parsed as a well-formed command
/dports/math/gap/gap-4.11.0/pkg/profiling-2.2.1/gap/
H A Dprofiling.gd17 #! A parsed profile can be transformed into a human-readable form using either
27 #! or files previously parsed by <Ref Func="ReadLineByLineProfile"/>.
46 #! string if <A>filename</A> is not present).
59 #! string if <A>filename</A> is not present).
68 #! of code were executed, and (if this was originally recorded) how long was spent
130 #! <A>file</A> ends with <C>.tst</C> it will be called with <C>Test</C>;
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/sofia-sip/libsofia-sip-ua/msg/
H A Dtest_protos.h.in66 /** Test if tag type marks a TST header string. @HIDE */
105 #if HAVE_INLINE
134 #if HAVE_INLINE
158 * #xxxxxxx_xxxxxxx# is parsed and printed. It also
190 #if SU_HAVE_INLINE
213 #if SU_HAVE_INLINE
242 * #xxxxxx# = msg_#xxxxxx#_dup(home, tst->msg_#xxxxxx#);
273 * #xxxxxx# = msg_#xxxxxx#_copy(home, tst->msg_#xxxxxx#);
302 #if SU_HAVE_INLINE
333 #if SU_HAVE_INLINE
[all …]
/dports/net/sofia-sip/sofia-sip-1.13.4/libsofia-sip-ua/msg/
H A Dtest_protos.h.in66 /** Test if tag type marks a TST header string. @HIDE */
105 #if HAVE_INLINE
134 #if HAVE_INLINE
158 * #xxxxxxx_xxxxxxx# is parsed and printed. It also
190 #if SU_HAVE_INLINE
213 #if SU_HAVE_INLINE
242 * #xxxxxx# = msg_#xxxxxx#_dup(home, tst->msg_#xxxxxx#);
273 * #xxxxxx# = msg_#xxxxxx#_copy(home, tst->msg_#xxxxxx#);
302 #if SU_HAVE_INLINE
333 #if SU_HAVE_INLINE
[all …]
/dports/lang/clisp/clisp-df3b9f6fdcff22832898e89a989eb499c0f842ed/tests/
H A DChangeLog124 * hashlong.tst, iofkts.tst, macro8.tst, map.tst, mop.tst, mt.tst:
125 * number2.tst, path.tst, restarts.tst, setf.tst, steele7.tst:
340 *LOAD-PATHS* which cannot be parsed by *PATHNAME-ENCODING*
355 (my-eval): call TIMES if *EVAL-TIMES* is non-NIL
538 * strings.tst: add a test for trim-if
822 * bind.tst, clos.tst, eval20.tst, format.tst, iofkts.tst:
973 * path.tst: test (open "..." :direction :output :if-exists
1040 * excepsit.tst: (defun if) signals a PROGRAM-ERROR
1297 * streams.tst: test open :direction :output :if-exists :append
2386 * excepsit.tst (loop): check that (loop 42) is parsed as extended loop
[all …]
/dports/textproc/jo/jo-1.4/
H A Djo.pandoc31 *jo* treats `key@value` specifically as boolean JSON elements: if the value begins with `T`, `t`,
37 …_word_, the name to the right of `:=` is a file containing JSON which is parsed and assigned to th…
60 Coercing a non-boolean string to boolean outputs `false` if the string is empty, `true` otherwise.
69 $ jo tst=1457081292 lat=12.3456 cc=FR badfloat=3.14159.26 name="JP Mens" nada= coffee@T
70 …{"tst":1457081292,"lat":12.3456,"cc":"FR","badfloat":"3.14159.26","name":"JP Mens","nada":null,"co…
85 Create objects within objects; this works because if the first character of value is an open brace …
187 … which starts with `@` is read in plain whereas if it begins with a `%` it will be base64-encoded …

12345678910>>...16