Matches in DBpedia 2014 for { <http://dbpedia.org/resource/Parameterized_macro> ?p ?o. }
Showing items 1 to 25 of
25
with 100 items per page.
- Parameterized_macro abstract "In computer science, a parameterized macro is a type of macro that is able to insert given objects into its expansion. This gives the macro some of the power of a function.As a simple example, in the C programming language, this is a typical macro that is not a parameterized macro: #define PI 3.14159This causes the string "PI" to be replaced with "3.14159" wherever it occurs. It will always be replaced by this string, and the resulting string cannot be modified in any way. An example of a parameterized macro, on the other hand, is this: #define pred(x) ((x)-1)What this macro expands to depends on what argument x is passed to it. Here are some possible expansions: pred(2) → ((2) -1) pred(y+2) → ((y+2) -1) pred(f(5)) → ((f(5))-1)Parameterized macros are a useful source-level mechanism for performing in-line expansion, but in languages such as C where they use simple textual substitution, they have a number of severe disadvantages over other mechanisms for performing in-line expansion, such as inline functions.The parameterized macros used in languages such as Lisp, PL/I and Scheme, on the other hand, are much more powerful, able to make decisions about what code to produce based on their arguments; thus, they can effectively be used to perform run-time code generation.".
- Parameterized_macro wikiPageID "1105705".
- Parameterized_macro wikiPageRevisionID "305743113".
- Parameterized_macro hasPhotoCollection Parameterized_macro.
- Parameterized_macro subject Category:Programming_constructs.
- Parameterized_macro type Abstraction100002137.
- Parameterized_macro type Cognition100023271.
- Parameterized_macro type Concept105835747.
- Parameterized_macro type Content105809192.
- Parameterized_macro type Idea105833840.
- Parameterized_macro type ProgrammingConstructs.
- Parameterized_macro type PsychologicalFeature100023100.
- Parameterized_macro type ProgrammingLanguage.
- Parameterized_macro type Software.
- Parameterized_macro type Work.
- Parameterized_macro type CreativeWork.
- Parameterized_macro type InformationEntity.
- Parameterized_macro comment "In computer science, a parameterized macro is a type of macro that is able to insert given objects into its expansion. This gives the macro some of the power of a function.As a simple example, in the C programming language, this is a typical macro that is not a parameterized macro: #define PI 3.14159This causes the string "PI" to be replaced with "3.14159" wherever it occurs. It will always be replaced by this string, and the resulting string cannot be modified in any way.".
- Parameterized_macro label "Parameterized macro".
- Parameterized_macro sameAs m.046fvy.
- Parameterized_macro sameAs Q7135215.
- Parameterized_macro sameAs Q7135215.
- Parameterized_macro sameAs Parameterized_macro.
- Parameterized_macro wasDerivedFrom Parameterized_macro?oldid=305743113.
- Parameterized_macro isPrimaryTopicOf Parameterized_macro.