search for: parsestr

Displaying 3 results from an estimated 3 matches for "parsestr".

Did you mean: parse_str
2012 Aug 01
2
[LLVMdev] [RFC] New command line parsing/generating framework for clang and lld.
...ode from TableGen. It is also trivial to merge identical parsers before generating them, which means there's no code size explosion. Here's an example of what this would generate. ArgParseResult parseJoinedOrSeperate(const ArgParseState APS) { return parseOr(parseJoined("", parseStr(0)), parseSeperate(parseStr(0)))(APS); } Each parse* function is a template function which creates a function object that implements that parser with the given arguments. The integer argument for parseStr tell it which Argument value slot to put it in. This is based on v0 from...
2012 Aug 09
0
[LLVMdev] [RFC] New command line parsing/generating framework for clang and lld.
...also > trivial to merge identical parsers before generating them, which means there's > no code size explosion. Here's an example of what this would generate. > > ArgParseResult parseJoinedOrSeperate(const ArgParseState APS) { > return parseOr(parseJoined("", parseStr(0)), > parseSeperate(parseStr(0)))(APS); > } > > Each parse* function is a template function which creates a function object that > implements that parser with the given arguments. The integer argument for > parseStr tell it which Argument value slot to put it...
2008 Sep 03
8
suggestion of new API function for embedded programming.
While doing some embedded programming and trying to figure out how to generate a hand coded SEXP equivalent of the line "t.test(x,conf.level=(1-p))$conf.int[2]" I had an idea for an addition to the embedded API. There are a number of hidden or static parse functions (R_ParseBuffer, R_Parse1Buffer, etc.) which take an IoBuffer* and returns a parsed tree. If one or more of these