Por favor, use este identificador para citar o enlazar este ítem: http://hdl.handle.net/20.500.12008/3501

Título:

A generic version of scanf programmed in C5

Otros títulos:

Coordinador:

Director:

Compilador:

Autor:

Cabezas, Juan José

Tutor:

Tipo de documento:

Reporte técnico

Editor:

Palabras clave:

Dynamic Typing
Dependent Pair Type
Generic Programming
Earley algorithm

Descriptores:

Año de publicación:

2004

Contenido:

Resumen:

In this paper we present a generic version of \{\\tt scanf\} the standard library function of the C language programmed in C5. C5 is a superset of the C programming language. The main difference between C and C5 is that the type system of C5 supports the definition of types of dependent pairs, i.e., the type of the second member of the pair depends on the value of the first member (which is a type). Another C5 extension is the type initialization expression which is a sequence of C constant expressions that can be attached to type expressions in a type declaration. These extensions make C5 powerful enough to express in a generic form functions with dependent type arguments like and \{\\tt printf\} and \{\\tt scanf\}. The resulting version of \{\\tt scanf\} is a parser generator based on the Earley algorithm that for a given type constructs an object of such type according to the input string.

Descripción:

Editorial:

UR. FI – INCO.

EN:

Reportes Técnicos 04-05

Financiadores:

Citación:

CABEZAS, J. "A generic version of scanf programmed in C5". Reportes Técnicos 04-05. UR. FI – INCO, 2004.

Citación:

metadata.cc.license.name:

Documento del Gobiberno:

URI:

http://hdl.handle.net/20.500.12008/3501

ISBN:

e-ISBN:

ISSN:

0797-6410

ISMN:

Otros identificadores:

Título Obtenido:

Facultad o Servicio que otorga el Título:

Licencia:

Licencia Creative Commons Atribución – No Comercial – Sin Derivadas (CC BY-NC-ND 4.0)

Cobertura geográfica:

Cobertura temporal:

metadata.dc.relation.IsVersionOf:

Clasificación:

Es versión de:

Colecciones:

FicherosDescripciónTamañoFormato
TR0405.pdf — 197.19 KB Adobe PDF