Annotation of OpenXM/doc/oxlib/README, Revision 1.1
1.1 ! takayama 1: $OpenXM$
! 2:
! 3: This directory contains samples on OpenXM/library mode interface.
! 4: For example, you can factor a given multivariable polynomial
! 5: over Q or algebraic numbers by linking libasir.a.
! 6: Details on the OpenXM/library mode interface is explained in
! 7: OpenXM/doc/OpenXM-specs/OpenXM-eg.dvi (in English) or
! 8: OpenXM/doc/OpenXM-specs/OpenXM-jp.dvi (in Japanese).
! 9:
! 10: A sample session with test3:
! 11: % ./test3
! 12: Input>asir 123 <- push 123
! 13: Input>pop <- pop and print
! 14: Output>
! 15: 00 00 00 14 00 00 00 01 00 00 00 7b
! 16: Input>push 00 00 00 14 00 00 00 01 00 00 00 0c <- push 12
! 17: Input>push 00 00 00 14 00 00 00 01 00 00 00 08 <- push 8
! 18: Input>push 00 00 00 02 00 00 00 02 <- push int32 2
! 19: Input>asir "igcd" <- push a string (function name)
! 20: Input>cmd 269 <- executeFunction
! 21: Input>pop
! 22: Output>
! 23: 00 00 00 14 00 00 00 01 00 00 00 04 <- 4 = gcd(12,8)
! 24: Input>asir quit <- execute asir 'quit' command
! 25: %
! 26:
! 27:
! 28:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>