- May 10, 2019
-
-
Alex Willmer authored
-
Alex Willmer authored
In Python 2.x an unprefixed string literal produces a byte string. In Python 3.x an unprefixed string literal produces a textual string. To produce a byte string in both a b prefix is needed, e.g. b'foo'. Since I believe Hammer works predominantly with byte strings I have used b prefixes throughout.
-
Alex Willmer authored
This removes any doubts about what type of string is in use.
-
Alex Willmer authored
This allows the library to be built and tested with a non-default version of CPython, e.g. scons bindings=python python=python3.6 scons bindings=python python=python3.6 testpython
-
Alex Willmer authored
In Python 3.x - int and long types are unified. The unified type is called int. - the text string type (unicode) is renamed to str. - the byte string type (str) is renamed to bytes. - chr returns a text string (i.e. str) - xrange is renamed to range. - dict.has_key() is removed -
-
Alex Willmer authored
These have no effect in Python 3.x, they are the default. Enabling them in Python 2.x, enabling them in Python 2.x allows single source compatiblity.
-
- Jun 27, 2017
-
-
Meredith L. Patterson authored
Change filename in ruby bindings
-
- Nov 06, 2016
-
-
Prashant authored
-
- Oct 25, 2016
- Sep 11, 2016
-
-
Prashant Anantharaman authored
-
Prashant Anantharaman authored
-
Prashant Anantharaman authored
-
Meredith L. Patterson authored
More documentation for ruby bindings
-
- Sep 09, 2016
-
-
Prashant Anantharaman authored
-
Prashant Anantharaman authored
-
- Aug 19, 2016
-
-
Meredith L. Patterson authored
Readme links
-
Meredith L. Patterson authored
Custom printers for user token types
-
- Aug 12, 2016
-
-
Steven Dee authored
I did this in a hurry, but it appears to work locally. I tested it with a couple boring custom token type printers.
-
- Aug 11, 2016
- Aug 10, 2016
- Aug 01, 2016
-
-
tomime authored
-
- Jul 30, 2016
-
-
tomime authored
-
- May 30, 2016
-
-
Meredith L. Patterson authored
build on Windows with scons
-
- May 22, 2016
-
-
nicolas authored
This will guarantee we can build hammer with default arguments
-
nicolas authored
-
nicolas authored
To homogenize the file and allow keys/strings to be searched easily.
-
nicolas authored
We disable: - the tests (which require glib) although they can be reactivated with the `--tests` command line flag - shared library (lack of export symbol declarations means that although it can be built, no symbol is exported and therefore it can't be used) The `install` target installs the library and headers under the `build` folder, because it's a traditional practice to move libraries to a central location on Windows, unless you are using cygwin. In which case pass `prefix` to the command line. We adapt tools\windows\build_examples.bat to take the library that is built using scons or using tools\windows\build.bat
-
nicolas authored
We will need to use the environment's CC variable to make decisions that apply to windows compiling and linking. Therefore we move some existing sections below the set up of env["CC"] and env["CXX"]
-
- Feb 24, 2016
-
-
Meredith L. Patterson authored
Finish porting parsers to windows
-
- Jan 31, 2016
-
-
Nicolas Léveillé authored
This is proof that Hammer can be linked and used in a windows program!
-
Nicolas Léveillé authored
We port registry by importing the (public domain) openbsd implementation of the tfind/tsearch POSIX binary tree search functions. These are only necessary when building on non-posix platforms
-