⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ideas.htm

📁 SP是一个基于GNU C++编译器
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<P>Implement DTDDECL catalog entry.<P>Support FILE URLs.<P>Perhaps don't want to do searching for catalog files (and perhapscommand line files).<P>Provide mechanism for specifying when (if at all) base dir is searchedrelative to other dirs.<P>Provide extension to catalog format to distinguish entities declaredin non-base DTDs. Perhaps precede entity name by document type namesurrounded by GRPO/GRPC delimiters.<P>URLStorageManager should use a DescriptorManager shared withPosixStorageManager.<P>URLStorageManager::resolveRelative should delete "xxx/../" and "./"components.  Might also be a good idea to resolve host names.<P>Implement JIS encoding system (what should be done with half-width yenand overbar in JIS-Roman? translate to Unicode).<P>ExternalInfoImpl::convertOffset: when the position is the characterpast the last character and the last character was a newline, linenumber should be number of lines + 1.<P>Try harder to rewind in StdioStorageObject.<H2>Generic</H2><P>Provide mechanism to access data entities using generated system id.<P>Support IMPLICIT/SIMPLE LINK.<P>Character set information.<P>Need to know space character that separates token.  Alternativelyprovide broken down view of tokens.<P>Need to know IDREF (and other declared values)?<H2>nsgmls</H2><P>Problem with "\#n;" escape sequence is that it might get used otherthan in data.  Probably should get rid of this feature, and givea warning when there's an unencodable character.<H2>Internal</H2><P>Make sure all files use #pragma i/i.<P>Get rid of assumption that Vector&lt;T>::size_type, String&lt;T>::size_typeis size_t.<P>Maybe align Owner with auto_ptr.<P>Get rid of uses of string as identifier.<P>?Maybe support non-const copy constructors for NCVector/Owner.<P>Get rid of asEntityOrigin (as far as possible).  MakeInputSourceOrigin::defLocation virtual on origin.  Avoid excessive useof asInputSourceOrigin.<P>Hash should define Hash(String&lt;unsigned char>),Hash(String&lt;unsigned short>) etc.<P>Invert sense of SP_HAVE_BOOL define.<P>Get rid of OutputCharStream::open.  Instead haveOutputCharStream::setEncoding.  (Perhaps make a friend so we can useostream if we're not interested in encodings.)  Allow use of ostreaminstead of OutputCharStream.  Change ParserToolkit::errorStream_'s codingsystem when we change the coding system.<P>Support 32-bit Char. Need to fix XcharMap and SubstTable.Detemplatize SubstTable.  Then support UTF-16.<P>Have a common version of Ptr for things that have a virtualdestructor.<P>Have a common version of Owner for all things that have a virtualdestructor.<P>Inheritance in AttributeSemantics unnecesary.<P>Rename ISet -> RangeSet.<P>ISet and RangeMap should use binary search.<P>Better hash function for wide characters.<P>OutputCharStream should canonically use RS/RE and translate to systemnewline char with raw option that prevents this.<P>Avoid having Entity.h depend on ParserState, perhaps by doubledispatching.<P>Add uses of explicit keyword.<P>When generating message.h file; if we don't have .cxx file andnamespaces are supported, use anonymous namespace.<H2>Application framework</H2><P>Only use static programName for outOfMemory message.<P>Need to use AppChar *const * not AppChar ** in CmdLineApp.<P>When reporting message with MessageEventHandler need to be able toupdate error count.<P>Option argument names need to be internationalized.<P>Support response files for DOS.<P>Sort options in usage message.<P>StringMessageArg should be associated with a character set (inparticular, need to distinguish parser character sets fromStorageManager character sets).<P>Should translate StringMessageArg from document character set tosystem character set.  Have MessageReporter::setDocumentCharacterfunction.<P>In MessageReporter, maybe distinguish messages coming from the parser.<P>Don't ever give a non-existent file as a location in a error message.<P>Text of messages should be able to specify that an open quote or closequote should be inserted at a particular point.<P>When outputting a StringMessageArg translate \r to \n.<P>Make sure wild cards work in VC++ and MS-DOS.<H2>Win32</H2><P>Remove path and extension from program name in error messages.<P>Compilers can typically eliminate unused templates.  Reengineer Vectorto reduce code size with such compilers.<P>Store messages in resources; requires numeric tags for messages.<P>Should automatically register all available code pages.<P>Make use of IsTextUnicode() API.<P>Have StorageManager that uses Win32 API directly.  Would avoid limitson number of open files. Also use flag that says file is beingaccessed sequentially.<P>Allow DTDs to be compiled into binary by having storage manager thatuses resource ids.<H2>Architecture engine</H2><P>Should give an error with -A if the specified arch does not exist.<P>Interpret APPINFO parameter, and automatically enable architecturalprocessing based on this.<P>Handle derived architecture support attributes.<P>When doing architectural processing in link type, not possible to havenotation declaration, so need some other way to specify publicidentifier for architecture.<P>Allow DOCTYPE to be declared inline (as with CONCUR or EXPLICIT LINK).<P>Grok conventional comments.<P>Make work automatically with EventHandlers that process subdoc.  Makereferences to subdocs architectural.<P>Support different SGML declaration for meta-DTD.<P>Maybe should map internal sdata/cdata entities to copies in meta-DTD.<P>Perhaps when getting open element info should indicate that gis arearchitectural.<P>Think about references to SDATA entities in default values in meta-DTD.<P>Add default entity from real DTD to meta-DTD.<P>Tokenize ArcForm attribute appropriately.<P>Make special case for parsing DTD when entity can't be accessed.<P>Try to provide extension that would allow architecture elements beasynchronous with actual elements?  This would provide CONCURfunctionality.<H2>sgmlnorm</H2><P>Avoid bogus newline from invalid empty document.<P>Avoid always escaping >.<P>Option to say whether to use character references for 8-bit characters.<P>Option to output implied attributes.<P>Option to output all non-implied attributes.<P>Option to omit attribute name with name tokens.<P>Protect against recognition of short references.<P>Option to preserve CDATA entity references.<P>Option to output general entity declarations in DTD subset(but what about data attributes)?<H2>spam</H2><P>Option to normalize names.<P>Add comments round expanded entities to prevent false delimiterrecognition.<P>Add newline at the end if last thing was omitted tag.<P>Option to warn about changes in internal entities when not expanding.<H2>Documentation</H2><P>Error message format.<P>&lt;catalog&gt; FSI tag.<P><ADDRESS>James Clark<BR>jjc@jclark.com</ADDRESS></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -