dc.creatorCabezas, Juan José
dc.date.accessioned2014-12-02T16:07:04Z
dc.date.accessioned2022-10-28T19:22:12Z
dc.date.available2014-12-02T16:07:04Z
dc.date.available2022-10-28T19:22:12Z
dc.date.created2014-12-02T16:07:04Z
dc.date.issued2004
dc.identifierCABEZAS, J. "A generic version of scanf programmed in C5". Reportes Técnicos 04-05. UR. FI – INCO, 2004.
dc.identifier0797-6410
dc.identifierhttp://hdl.handle.net/20.500.12008/3501
dc.identifier.urihttps://repositorioslatinoamericanos.uchile.cl/handle/2250/4959879
dc.description.abstractIn 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.
dc.publisherUR. FI – INCO.
dc.relationReportes Técnicos 04-05
dc.rightsLicencia Creative Commons Atribución – No Comercial – Sin Derivadas (CC BY-NC-ND 4.0)
dc.rightsLas obras depositadas en el Repositorio se rigen por la Ordenanza de los Derechos de la Propiedad Intelectual de la Universidad De La República. (Res. Nº 91 de C.D.C. de 8/III/1994 – D.O. 7/IV/1994) y por la Ordenanza del Repositorio Abierto de la Universidad de la República (Res. Nº 16 de C.D.C. de 07/10/2014)
dc.subjectDynamic Typing
dc.subjectDependent Pair Type
dc.subjectGeneric Programming
dc.subjectEarley algorithm
dc.titleA generic version of scanf programmed in C5
dc.typeReporte técnico


Este ítem pertenece a la siguiente institución