source: git/dyn_modules/openmathserver/openmathhashunger.py @ 3c473c

spielwiese
Last change on this file since 3c473c was 3c473c, checked in by Kai Krüger <krueger@…>, 14 years ago
rename directory modules to dyn_modules anticipating "modules" directory for cmake. git-svn-id: file:///usr/local/Singular/svn/trunk@13033 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 504 bytes
Line 
1import sys
2sys.path.insert(0,"/Users/michael/sing3/modules/openmathserver")
3import CD.gametheory as gametheory
4import CAS.kuchenessen as kuchenessen
5
6kuchenessen.install_kuchenessen_plugin()
7
8from context import Context
9from omxmlreader import *
10import sys
11
12
13
14
15root=readStream(sys.stdin)
16builder=OMFromXMLBuilder()
17context=Context()
18
19context.addCDImplementation(gametheory.implementation)
20doc=builder.build(root)
21
22doc=context.evaluate(doc)
23
24output=context.XMLEncodeObject(doc)
25
26sys.stdout.write(output)
27
Note: See TracBrowser for help on using the repository browser.