diff options
-rw-r--r-- | download.osml | 10 | ||||
-rw-r--r-- | ontology/webpage.osml | 8 |
2 files changed, 13 insertions, 5 deletions
diff --git a/download.osml b/download.osml index 714caaa..9fe34e8 100644 --- a/download.osml +++ b/download.osml @@ -23,11 +23,11 @@ any support yet and any aspect of the language is subject to change. You'll need \inlineCode{git} to access our source code repository. The reference implementation can be downloaded using the following command line: -\code{git clone http://git.ousia-framework.org/ousia.git} +\code[bash]{git clone http://git.ousia-framework.org/ousia.git} \paragraph The website can be downloaded using the following command line: -\code{git clone http://git.ousia-framework.org/ousia-www.git} +\code[bash]{git clone http://git.ousia-framework.org/ousia-www.git} \subsection{Compiling the reference implementation} To compile the source code, you'll need a C++11 compliant compiler such as @@ -41,16 +41,16 @@ Furhtermore, you'll need to install the \inlineCode{boost} and \paragraph Under Fedora 20 and later you can install these packages using the following command line: -\code{sudo yum install boost-devel expat-devel} +\code[bash]{sudo yum install boost-devel expat-devel} \paragraph Under Ubuntu 14.04 and later you can install these packages using the following command line: -\code{sudo apt-get install libboost-all-dev libexpat-dev} +\code[bash]{sudo apt-get install libboost-all-dev libexpat-dev} \paragraph Finally, to compile Ousía, go into the downloaded source code directory and execute -\code{mkdir build && cd build && cmake .. && make} +\code[bash]{mkdir build && cd build && cmake .. && make} \end{webpage} diff --git a/ontology/webpage.osml b/ontology/webpage.osml index e34eeb7..78044a8 100644 --- a/ontology/webpage.osml +++ b/ontology/webpage.osml @@ -121,11 +121,19 @@ \attribute#src[type=string] \primitive#alt[type=string] +% TODO: This is quiet ugly: We have two structures for basically the same +% semantics (except one is a block while the other is a primitive) -- is there +% some way to define this in a better way? + \struct#code[isa=block] + \attributes + \attribute#lang[type=string,default=""] \field \childRef[ref=primitive] \struct#inlineCode[isa=primitive] + \attributes + \attribute#lang[type=string,default=""] \field \childRef[ref=primitive] |