summaryrefslogtreecommitdiff
path: root/impl/systems/generate-fib.py
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au>2012-06-15 16:02:55 +1000
committerCarlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au>2012-06-15 16:02:55 +1000
commit4769d5edec8e78225f8f67e864c3269f1d2616e4 (patch)
treeedc95613cd16d319ac68ae1a375b28c32cd5f5be /impl/systems/generate-fib.py
parentfd6bc1887fecca5338e7d5660d56a4038c805d96 (diff)
parenta61d8b829afab13593e254fc69e260b6346939dc (diff)
Merge commit 'a61d'
Conflicts: impl/Expression.hpp impl/Operator.hpp impl/Variable.hpp impl/main.cpp
Diffstat (limited to 'impl/systems/generate-fib.py')
-rw-r--r--impl/systems/generate-fib.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/impl/systems/generate-fib.py b/impl/systems/generate-fib.py
new file mode 100644
index 0000000..0263fff
--- /dev/null
+++ b/impl/systems/generate-fib.py
@@ -0,0 +1,6 @@
+
+print 'x0 = 0'
+print 'x1 = 1'
+for i in xrange(10000):
+ #print 'x' + str(i+2) + " = x" + str(i) + " + x" + str(i+1)
+ print 'x%d = x%d + x%d' % (i+2, i, i+1)