fieker-DuValspielwiese
Last change
on this file since 547474 was
0d4df5,
checked in by Michael Brickenstein <bricken@…>, 18 years ago
|
*bricken: faster, simpler, yeah
git-svn-id: file:///usr/local/Singular/svn/trunk@9004 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
387 bytes
|
Line | |
---|
1 | import lxmlencoder |
---|
2 | import lxmldecoder |
---|
3 | import lxml.etree as et |
---|
4 | import sys |
---|
5 | from cd.arith1 import implementation as arith1 |
---|
6 | from context import Context |
---|
7 | |
---|
8 | tree=et.parse("bindingbsp") |
---|
9 | inp= lxmldecoder.decode(tree) |
---|
10 | h=lxmlencoder.encode(inp) |
---|
11 | print h.__class__ |
---|
12 | h.write(open("hallo", "w")) |
---|
13 | c=Context() |
---|
14 | c.addCDImplementation(arith1) |
---|
15 | lxmlencoder.encode(c.evaluate(inp)).write(open("hallo.eval", "w")) |
---|
Note: See
TracBrowser
for help on using the repository browser.