eklmp
eklmp

Reputation: 201

Which language is the following program written in?

ROOTPROC VarUse
PROC VarUse
ROOT Cfile;
1 {
2 [
3 (?NameRef
4 (IF (AND (HAS-TYPE $parent Assignment) (IS-EQUAL $slot ``lhs''))
5 (THEN (PRINT stdout "Variable %s defined at %s" $token $location))
6 (ELSE (PRINT stdout "Name %s accessed at %s" $token $location))))]
7 }

Upvotes: 1

Views: 172

Answers (3)

DevSolar
DevSolar

Reputation: 70213

Looks like a Genoa language specification.

(Don't ask me for details, all I did was googling "HAS-TYPE ROOTPROC IS-EQUAL".)

Upvotes: 1

vpit3833
vpit3833

Reputation: 7951

Gen++, application generator for C++.

Upvotes: 4

Leszek Wachowicz
Leszek Wachowicz

Reputation: 1015

GEN++ an analyzer generator for C++

Upvotes: 1

Related Questions