org: some documentation about compiling C++
* doc/org/compile.org: New file. * doc/Makefile.am: Add it. * NEWS: Mention it. * doc/org/tut.org, doc/org/tut01.org: Link to it.
This commit is contained in:
parent
f120dd3206
commit
690b8f51c7
5 changed files with 251 additions and 2 deletions
|
|
@ -67,6 +67,7 @@ We first start with the easy parser interface, similar to the one used
|
|||
above in the python bindings. Here parse errors would be returned as
|
||||
exceptions.
|
||||
|
||||
#+NAME: 1stex
|
||||
#+BEGIN_SRC C++ :results verbatim :exports both
|
||||
#include <iostream>
|
||||
#include <spot/tl/parse.hh>
|
||||
|
|
@ -83,7 +84,9 @@ exceptions.
|
|||
}
|
||||
#+END_SRC
|
||||
|
||||
#+RESULTS:
|
||||
After [[file:compile.org][compiling and executing]] we get:
|
||||
|
||||
#+RESULTS: 1stex
|
||||
: GFp0 | FGp1
|
||||
: p_{1} \land p_{2} \land \G p_{0}
|
||||
: & & p1 p2 G p0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue