Share on Facebook Share on Twitter Email
Answers.com

Abstract semantic graph

 
Wikipedia: Abstract semantic graph
Semantics
LanguageLinguistics
Formal semantics
Lexis
Lexical semantics
Statistical semantics
Structural semantics
Prototype semantics
Lexicology
Semantic analysis
Latent semantic analysis
Theory of descriptions
Force Dynamics
Unsolved problems
Semantic matching
Analysis (machine)
Abstract semantic graph
Semantic Web
Semantic wiki
Semantic File System
Abstract interpretation
Formal semantics of
 programming languages
  Denotational semantics
  Axiomatic semantics
  Operational semantics
  Action semantics
  Algebraic semantics
  Categorical semantics
  Concurrency semantics
  Game semantics
  Predicate transformer..

In computer science, an abstract semantic graph (ASG) is a data structure used in representing or deriving the semantics of an expression in a formal language (for example, a programming language). An abstract semantic graph is a higher level abstraction than an abstract syntax tree (or AST), which is used to express the syntactic structure of an expression or program.

An abstract semantic graph is typically constructed from an abstract syntax tree by a process of enrichment and abstraction. The enrichment can for example be the addition of back-pointers, edges from an identifier node (where a variable is being used) to a node representing the declaration of that variable. The abstraction can entail the removal of details which are relevant only in parsing, not for semantics.

External links

See also



Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
 
 

 

Copyrights:

Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Abstract semantic graph" Read more