Age | Commit message (Collapse) | Author | Files | Lines |
|
* utils/sexpr.cc: Likewise.
|
|
|
|
(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.
|
|
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.
|
|
and sed.
* config/var-def.mk (oa_target_includedir): New.
|
|
* 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
|