Skip to content

Commit

Permalink
Hmm .. RTD is not colouring Python of C++. Why?
Browse files Browse the repository at this point in the history
  • Loading branch information
skaller committed Nov 1, 2017
1 parent 60600b2 commit 562207f
Show file tree
Hide file tree
Showing 50 changed files with 502 additions and 911 deletions.
11 changes: 4 additions & 7 deletions doc/packages/algebra.rst
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,8 @@ Syntax
cmp := "\ne" =># '(nos _1)';
cmp := "\neq" =># '(nos _1)';
}
@
Partial Order
-------------
Expand Down Expand Up @@ -591,8 +590,7 @@ the functions from class :code:`Eq`.
proc pluseq(px:&t, y:t) { += (px,y); }
proc minuseq(px:&t, y:t) { -= (px,y); }
}
@
Notation
--------
Expand Down Expand Up @@ -1088,8 +1086,7 @@ To be moved. Folds over streams.
}
@
Monad
=====
Expand Down
1 change: 0 additions & 1 deletion doc/packages/arrays.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ an integer to an array is translated into a
call on the get method:
n a -> get (a,n)
a. n -> n a -> get (a,n)

Note that the more usual reverse application using
operator dot :code:`.` is also made available this way.

Expand Down
29 changes: 11 additions & 18 deletions doc/packages/botan.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ Random number generators.
"$1->randomize_with_input($2,$3);"
;
}}
@
Big Integers
============
Expand Down Expand Up @@ -128,8 +127,7 @@ Big Integers
fun power_mod: bigint * bigint * bigint -> bigint = "Botan::power_mod($1,$2,$3)";
}}
@
Hash functions
==============
Expand All @@ -145,8 +143,7 @@ Hash functions
proc final: BufferedComputation * +byte = "$1->final($2);";
}}
@
.. code-block:: text
Expand All @@ -159,33 +156,29 @@ Hash functions
provides_dlib: -L/usr/local/lib -lbotan-2
provides_slib: -L/usr/local/lib -lbotan-2
cflags: -I/usr/local/include/botan-2.0
@
.. code-block:: text
Requires: botan
includes: '"botan/rng.h"'
cflags: -I/usr/local/include/botan-2.0
@
.. code-block:: text
Requires: botan
includes: '"botan/system_rng.h"'
cflags: -I/usr/local/include/botan-2.0
@
.. code-block:: text
Requires: botan
includes: '"botan/bigint.h"' '"botan/numthry.h"'
cflags: -I/usr/local/include/botan-2.0
@
12 changes: 4 additions & 8 deletions doc/packages/buildtools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -998,8 +998,7 @@ the build target directory.
FlxPrepBuild::build_felix (#System::args);
System::exit (0);
@
Build the Run Time Library (RTL)
--------------------------------
Expand Down Expand Up @@ -1307,8 +1306,7 @@ share directory. Does not look in the repository.
FlxRtlBuild::build_felix_rtl (#System::args);
System::exit (0);
@
Build everything else.
----------------------
Expand Down Expand Up @@ -1364,8 +1362,7 @@ directory.
flx_tool: flx_build_rtl
flx_tool: flx_build_boot
flx_tool: flx_build_flxg
@
.. code-block:: felix
Expand Down Expand Up @@ -1700,5 +1697,4 @@ directory.
System::exit (0);
@
22 changes: 8 additions & 14 deletions doc/packages/cheaders.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ The original ANSI Standard blessed as an ISO Standard.
header string_h = "#include <string.h>";
header time_h = "#include <time.h>";
}
@
C95 Amendment
-------------
Expand All @@ -74,8 +73,7 @@ Added support for wide characters.
header wchar_h = "#include <wchar.h>";
header wctype_h = "#include <wctype.h>";
}
@
C99 Standard
------------
Expand All @@ -97,9 +95,8 @@ bool.
header stdint_h = "#include <stdint.h>";
header tgmath_h = "#include <tgmath.h>";
}
@
C++ Standards.
==============
Expand Down Expand Up @@ -212,8 +209,7 @@ of new features.
header cstdalign = '#include <cstdalign>';
header cstdbool = '#include <cstdbool>';
}
@
Posix
=====
Expand Down Expand Up @@ -285,8 +281,7 @@ from the most recent, most final one.
header wordexp_h = "#include <wordexp.h>";
}
@
Windows
=======
Expand All @@ -305,6 +300,5 @@ even for 64 bit Windows.
header sys_utime_h = "#include <sys/utime.h>";
header process_h = "#include <process.h>";
}
@
3 changes: 1 addition & 2 deletions doc/packages/chips.rst
Original file line number Diff line number Diff line change
Expand Up @@ -648,8 +648,7 @@ Zero or more matcher
wire chans.out to Ass.out
endcircuit
}
@
.. code-block:: felix
Expand Down
11 changes: 4 additions & 7 deletions doc/packages/concordance.rst
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,14 @@ Felix library concordance macros
macro val TYPE_dcomplex = 407;
macro val TYPE_lcomplex = 408;
@
.. code-block:: felix
// if this compiles it should run.
println$ "Checking concordance is loaded";
println$ "Concordance loaded = " + FLX_CONCORDANCE_LOADED.str;
@
.. code-block:: text
Expand All @@ -127,6 +125,5 @@ Felix library concordance macros
let flx_land = 210
let flx_lor = 211
let flx_lnot = 212
@
10 changes: 3 additions & 7 deletions doc/packages/configs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ OSX
#include <sys/socket.h>
typedef socklen_t FLX_SOCKLEN_T;
#endif
@
.. code-block:: cpp
Expand Down Expand Up @@ -45,7 +44,6 @@ OSX
#define FLX_HAVE_OPENMP 0
#define FLX_MAX_ALIGN 16
#endif
@
Linux
=====
Expand All @@ -58,8 +56,7 @@ Linux
#include <sys/socket.h>
typedef socklen_t FLX_SOCKLEN_T;
#endif
@
.. code-block:: cpp
Expand Down Expand Up @@ -87,8 +84,7 @@ Linux
#define FLX_HAVE_OPENMP 1
#define FLX_MAX_ALIGN 16
#endif
@
Windows
=======
Expand Down
10 changes: 4 additions & 6 deletions doc/packages/control.rst
Original file line number Diff line number Diff line change
Expand Up @@ -173,16 +173,14 @@ Misc Control Flow
}
}
@
.. code-block:: text
syntax swapop
{
sswapop := "<->" =># "'_swap";
}
@
6 changes: 2 additions & 4 deletions doc/packages/core_scalar_types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@ arbitrary integer operations.
pod type intptr = "intptr_t" requires C99_headers::stdint_h, index TYPE_intptr;
pod type uintptr = "uintptr_t" requires C99_headers::stdint_h, index TYPE_uintptr;
@
Integer literal constructors.
=============================
Expand Down Expand Up @@ -613,8 +612,7 @@ Floats
//$ All the core approximations to numbers.
typedef numbers = reals \cup complexes;
@
All Scalars.
------------
Expand Down
7 changes: 2 additions & 5 deletions doc/packages/debug.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,7 @@ The translation from the C macros used are done by the C++ compiler.
{
satom := "HERE" =># "`(ast_here ,_sr)";
}
@
UDP based trace support
=======================
Expand All @@ -93,7 +92,6 @@ This stuff only on Posix so far.
RTL_EXTERN void send_udp_trace_message (::std::string);
}}
@
.. code-block:: cpp
Expand Down Expand Up @@ -161,8 +159,7 @@ This stuff only on Posix so far.
}
}} // namespaces
#endif
@
Simple UDP Trace monitor
------------------------
Expand Down

0 comments on commit 562207f

Please sign in to comment.