hammer/examples
Mikael Vejdemo-Johansson d13657a411 Changed generating functions printouts to be copy-paste-able into SageMath.
Now we can do things like:

# copy-paste from output
ring.<t,L,tie,Cn,M,Ln,I,D,J,Rn,A,K,F,G> = QQ[]
ID = ring.ideal(L - (1*Cn*t),tie - (1*Ln*t),Cn - (1*I + 1*J),M - (1*t^2),Ln - (1*D + 1*L + 1*M),I - (1*Rn*t),D - (1*Rn*t),J - (1*Ln*t),Rn - (1*F + 1*G + 1*K),A - (1*tie),K - (1*t^2),F - (1*Ln*t),G - (1*Cn*t))

# we are interested in tie in terms of t; so we want to remove anything not these two:
ID.elimination_ideal([L,Cn,M,Ln,I,D,J,Rn,A,K,F,G])

# output from this SageMath command is
# Ideal (t^3 + 2*t^2*tie + t*tie - tie) of Multivariate Polynomial Ring in t, L, tie, Cn, M, Ln, I, D, J, Rn, A, K, F, G over Rational Field
# which we can solve for tie to get tie = t^3/(1-t-2*t^2) just as expected
2015-04-10 10:05:19 +02:00
..
base64.c Ditch longs and long longs in favor of stdint.h types, which has cascading 2013-11-15 00:12:57 -05:00
base64_sem1.c Remove vacuous states in base64_sem?.c 2014-12-07 00:16:57 -05:00
base64_sem2.c Remove vacuous states in base64_sem?.c 2014-12-07 00:16:57 -05:00
dns.c Added a void* user_data pointer to HPredicate 2013-11-23 13:01:55 -06:00
dns.h make actions for the remaining RDATA types 2013-01-17 21:58:17 +01:00
dns_common.c Added a void* user_data pointer to HPredicate 2013-11-23 13:01:55 -06:00
dns_common.h Added a void* user_data pointer to HAction 2013-11-23 12:53:11 -06:00
grammar.c Changed generating functions printouts to be copy-paste-able into SageMath. 2015-04-10 10:05:19 +02:00
grammar.h refactored out the grammar handling. handles epsilons better 2015-04-08 17:32:12 +02:00
Makefile fix linking of base64 example 2013-02-17 15:47:18 +01:00
rr.c Added a void* user_data pointer to HPredicate 2013-11-23 13:01:55 -06:00
rr.h All tests pass; lots of stuff is no longer const 2013-05-24 15:07:47 +02:00
SConscript refactored out the grammar handling. handles epsilons better 2015-04-08 17:32:12 +02:00
ties.c Changed generating functions printouts to be copy-paste-able into SageMath. 2015-04-10 10:05:19 +02:00