aboutsummaryrefslogtreecommitdiff
path: root/src/utils/sexpr.cc
AgeCommit message (Collapse)AuthorFilesLines
2010-09-12 * utils/sexpr.H (Token::character): New token type.dos-reis1-0/+33
(Character): New. (Syntax::Visitor::visit): Overload for Character. (Allocator::make_character): Declare. (Parser::parse_character): Likewise. * utils/sexpr.cc (operator<<) [Token::character]: Print data for character token. (Lexer::tokenize): Recognize a character literal. (Parser::parse_character): Define.
2010-08-29 * utils/Makefile.in ($(oa_target_oalib)): Create contaningdos-reis1-3/+3
directory if necessary. * utils/storage.H (Memory::Factory): New. Allocate, construct, and destroy objects. * utils/sexpr.H (Sexpr::Allocator): Use Memory::Factory. * utils/sexpr.cc: Adjust implementation.
2010-08-26 * config/open-axiom.m4 (OPENAXIOM_BUILD_TOOLS): Check for ln -sdos-reis1-1/+1
and sed. * config/var-def.mk (oa_target_includedir): New.
2010-08-24 Implement an s-expression C++ library.dos-reis1-0/+641
* utils/hash-table.H: New. * utils/sexpr.H: Likewise. * utils/sexpr.cc: Likewise. * utils/string-pool.H: Likewise. * utils/string-pool.cc: Likewise. * utils/storage.H: Include openaxiom-c-macros.h (Memory::Storage): New. (Memory::Arena): Likewise. * utils/storage.cc: Implement member functions of new class. * utils/Makefile.in (libOpenAxiom_HEADERS): Include hash-table.H, string-pool.H, and sexpr.H (libOpenAxiom_SOURCES): Include string-pool.cc and sexpr.cc