source: git/dyn_modules/openmath/pseudocode.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: 371 bytes
Line 
1content = OMCD("arith1")
2content.add("bla", "blupp", "blipper")
3OMCD.implement
4implementation = OMCDImplementation(content)
5
6implementation.groebner=singular.groebner
7#does the default mapping, forgets about attributes
8
9@keep_attributions
10def attr_play(a,b):
11    attribs=attributes(a)
12    #...
13
14implementation.attr=attr_play
15
16
17def evaluate(object, attributes):
18    pass
19
Note: See TracBrowser for help on using the repository browser.