Alon Zakai
8672034800
bindings fixes
2011-07-13 20:54:37 -07:00
kripken
efbf009d0d
Merge pull request #52 from max99x/master
...
Minor improvements: Pyhon 2.6- compatibility; hyperbolic math functions
2011-07-13 17:19:19 -07:00
max99x
f1507e847d
Added errno and glibc-defined error codes; implemented strerror().
2011-07-14 01:46:44 +03:00
max99x
3c07ebaefd
Making the infinity test sign-agnostic (clang compatibility).
2011-07-13 23:34:00 +03:00
max99x
81c4df8f8b
Micro-improvement for the infinity test.
2011-07-13 23:32:26 +03:00
max99x
3159de633f
Fixed finite() and isinf(), added tests for it.
2011-07-13 23:25:44 +03:00
max99x
9ee300c190
Switched from argparse to optparse in emscripten.py, for older Python.
2011-07-13 22:30:29 +03:00
max99x
fcacb4c13c
Merge branch 'master' of github.com:max99x/emscripten
2011-07-13 21:44:19 +03:00
Alon Zakai
dc24fffc94
bindings generator improvements
2011-07-12 20:46:34 -07:00
Alon Zakai
2a0f3ba466
fscanf
2011-07-12 07:43:52 -07:00
Alon Zakai
8f49ea85f5
clear errors for exceptions inside emscripten.py from test runner
2011-07-11 18:53:30 -07:00
Alon Zakai
f367fe79e3
ignore destructors in bindings generator
2011-07-11 18:50:04 -07:00
Alon Zakai
d1dc23eff7
bindings generator fixes
2011-07-10 19:33:03 -07:00
Alon Zakai
9d870c216a
import re in bindings generator so processors can use it
2011-07-10 11:20:50 -07:00
Alon Zakai
c93d7ae63f
version 1.4
2011-07-10 10:52:44 -07:00
Alon Zakai
1a0f57dd70
allow a lambda to process headers in bindings generator
2011-07-09 22:29:27 -07:00
Alon Zakai
6c101f3ad8
bindings generator cleanup
2011-07-09 19:24:20 -07:00
Alon Zakai
3a935225b9
paper 1.1
2011-07-09 18:32:42 -07:00
Alon Zakai
aae957a512
paper update
2011-07-09 11:05:59 -07:00
kripken
c79828f6b8
Merge pull request #47 from max99x/master
...
Emscripten.py rewrite
2011-07-09 10:28:19 -07:00
max99x
11e404d7a8
Polish for emscripten.py and its tests.
2011-07-09 20:14:00 +03:00
Alon Zakai
4fe5b2b7b6
paper update
2011-07-08 20:30:48 -07:00
max99x
8ffd5c52ca
Merge remote-tracking branch 'upstream/master'
2011-07-08 12:53:20 +03:00
max99x
b84bb001de
Added hyperbolic math functions;
...
Fixed trailing zero stripping in formatString().
2011-07-08 11:46:20 +03:00
max99x
b5b48bab8b
Improved clock() test to verify time() <-> clock().
2011-07-08 09:14:26 +03:00
max99x
b37b05b1a0
Reverted hashbang from /usr/bin/python2 to /usr/bin/python.
2011-07-08 08:53:47 +03:00
max99x
1bd1893888
* Added support for automatically determining llvm-gcc/clang data layout in emscripten.py.
...
* Added a dlmalloc linking test.
* Fixed double-evaling of JSON in emscripten.py when --dlmalloc is passed.
2011-07-08 08:39:31 +03:00
max99x
cfbdf06310
Moved cleanup into a `finally` block.
2011-07-08 07:38:42 +03:00
max99x
631e2dc9a4
Added a test for running emscripten.py straight on a .bc file.
2011-07-08 07:33:37 +03:00
max99x
9cfc7d9e9d
Added a test for unannotated LL.
2011-07-08 07:23:03 +03:00
max99x
eef9e588e0
Cleaning up temporary files in emscripten.py.
2011-07-08 07:10:13 +03:00
max99x
f0bb154229
* Moved pick_llvm_opts() to tools/shared.py.
...
* Using pick_llvm_opts() instead of hardcoding -O3 in emscripten.py.
* Reassembling only when needed in emscripten.py.
2011-07-08 07:04:38 +03:00
Alon Zakai
1a599856b4
comment about test_cases
2011-07-07 17:58:35 -07:00
Alon Zakai
fa0aeac564
fixes for strict mode
2011-07-07 17:43:57 -07:00
max99x
7dcdb044d3
Rewrite of emscripten.py:
...
* Uses option arguments instead of positional ones.
* Allows linking to dlmalloc.
* Accepts both .bc and .ll files and takes care of annotations.
* Allows running the LLVM optimization pass automatically.
* Updated test runner to use the new emscripten.py interface.
Refactoring:
* Moved settings.py to root folder. It no longer applies just to tests.
* Updated references to settings.py.
* Added an __init__.py to tools, so we don't have to hack around imports.
2011-07-07 12:24:09 +03:00
max99x
d94b2423ae
Added proper clock() test; fixed inverted clock() sign.
2011-07-07 07:34:16 +03:00
Alon Zakai
8e4dc2caa6
improved bindings generator
2011-07-06 20:50:04 -07:00
Alon Zakai
c2d3b71f99
paper update
2011-07-06 20:44:52 -07:00
kripken
3df0ae8766
Merge pull request #45 from max99x/master
...
Fixed time.h timezone bug
2011-07-06 20:25:14 -07:00
max99x
dedb83b9e1
Merge remote-tracking branch 'upstream/master'
2011-07-06 16:37:28 +03:00
max99x
13ac46b2c9
Fixed time.h timezone bug.
2011-07-06 16:36:35 +03:00
Alon Zakai
e84f1845f1
paper update
2011-07-05 20:48:51 -07:00
Alon Zakai
ae2b177f2b
paper update
2011-07-05 13:17:47 -07:00
Alon Zakai
1aeee076cf
ensure binding functions are not DFE'd away
2011-07-04 12:17:06 -07:00
Alon Zakai
a4262aa2c9
support for llvm aliases
2011-07-04 11:51:22 -07:00
Alon Zakai
7653c3b900
initial work on bindings generator, using CppHeaderParser and ply. llvm-gcc only for now
2011-07-03 23:51:38 -07:00
Alon Zakai
15db951115
comment
2011-07-03 22:17:35 -07:00
kripken
39b1dca3a0
Merge pull request #43 from max99x/master
...
More library functions
2011-07-03 22:16:19 -07:00
max99x
6390aaff20
Added reference to the folder-reading d8 bug.
2011-07-04 07:57:41 +03:00
Alon Zakai
4e9d7978c6
comments
2011-07-03 08:27:33 -07:00