代码搜索:recursive
找到约 2,177 项符合「recursive」的源代码
代码结果 2,177
www.eeworm.com/read/361386/10055478
err lista_tipi.err
/* This is illegal, since there are two types with the same name
in the same (consecutive) batch of mutually recursive types.
See also test47 */
let
type a = int
type b = string
t
www.eeworm.com/read/361386/10055495
tig test39.tig
/* This is illegal, since there are two functions with the same name
in the same (consecutive) batch of mutually recursive functions.
See also test48 */
let
function g(a:int):int = a
function
www.eeworm.com/read/361386/10055504
tig test48.tig
/* This is legal. The second function "g" simply hides the first one.
Because of the intervening variable declaration, the two "g" functions
are not in the same batch of mutually recursive fun
www.eeworm.com/read/361386/10055515
tig test4.tig
/* define a recursive function */
let
/* calculate n! */
function nfactor(n: int): int =
if n = 0
then 1
else n * nfactor(n-1)
in
nfactor(12)
end
www.eeworm.com/read/361386/10055529
tig test47.tig
/* This is legal. The second type "a" simply hides the first one.
Because of the intervening variable declaration, the two "a" types
are not in the same batch of mutually recursive types.
S
www.eeworm.com/read/361386/10055547
tig test38.tig
/* This is illegal, since there are two types with the same name
in the same (consecutive) batch of mutually recursive types.
See also test47 */
let
type a = int
type a = string
in
0
end
www.eeworm.com/read/361386/10055574
factor
/* define a recursive function */
let
/* calculate n! */
function nfactor(n: int): int =
if n = 0
then 1
else n * nfactor(n-1)
in
nfactor(10)
end
www.eeworm.com/read/420417/10796511
txt testdb.txt
1.grammer1 for left recursive eliminate
A->aB
A->Bb
B->Ac
B->d
2.a normal grammer
S->aH
H->aMd
H->d
M->Ab
M->z
A->aM
A->e
3.simple left recursive eliminate
S->Sa
S->b
4.
S->Sa
www.eeworm.com/read/275068/10837248
h pl0symt.h
/********************************************************************
Program : Recursive Descent Compiler for PL/0
Module : PL0SYMT - Symbol table management
File : pl0symt.h
****
www.eeworm.com/read/275068/10837289
h pl0code.h
/********************************************************************
Program : Recursive Descent Compiler for PL/0
Modul : PL0CODE - Intermediate code generator
File : pl0code.h