L-seed.git
11 years agoCabalization
Joachim Breitner [Sat, 13 Jun 2009 13:48:08 +0000 (15:48 +0200)]
Cabalization

11 years agoUpdate other binary to not use L.Grammar.Compile
Joachim Breitner [Sat, 13 Jun 2009 13:21:32 +0000 (15:21 +0200)]
Update other binary to not use L.Grammar.Compile

11 years agoThese notes are now obsolete
Joachim Breitner [Sat, 13 Jun 2009 13:06:57 +0000 (15:06 +0200)]
These notes are now obsolete

11 years agoHaddock build script
Joachim Breitner [Sat, 13 Jun 2009 10:30:26 +0000 (12:30 +0200)]
Haddock build script

11 years agoDocument Lseed.Constants
Joachim Breitner [Sat, 13 Jun 2009 09:55:31 +0000 (11:55 +0200)]
Document Lseed.Constants

11 years agoMake haddock happy
Joachim Breitner [Sat, 13 Jun 2009 09:48:33 +0000 (11:48 +0200)]
Make haddock happy

11 years agoExample for using Priorities
Joachim Breitner [Fri, 12 Jun 2009 13:50:57 +0000 (15:50 +0200)]
Example for using Priorities

11 years agoFix setting TAG after BLOSSOM
Joachim Breitner [Fri, 12 Jun 2009 13:50:46 +0000 (15:50 +0200)]
Fix setting TAG after BLOSSOM

11 years agoImplement priorities (great use of lazyness)
Joachim Breitner [Fri, 12 Jun 2009 13:11:46 +0000 (15:11 +0200)]
Implement priorities (great use of lazyness)

11 years agoCatch chooseWeighted on empty list
Joachim Breitner [Fri, 12 Jun 2009 12:57:09 +0000 (14:57 +0200)]
Catch chooseWeighted on empty list

11 years agoParse PRIORITY
Joachim Breitner [Fri, 12 Jun 2009 12:55:31 +0000 (14:55 +0200)]
Parse PRIORITY

11 years agoFix line end bug?
Joachim Breitner [Sun, 7 Jun 2009 22:14:51 +0000 (00:14 +0200)]
Fix line end bug?

11 years agoSpread seeds correctly
Joachim Breitner [Sun, 7 Jun 2009 22:09:49 +0000 (00:09 +0200)]
Spread seeds correctly

11 years agoadd siOffset and siHeight
Joachim Breitner [Sun, 7 Jun 2009 22:09:33 +0000 (00:09 +0200)]
add siOffset and siHeight

11 years agofiveFingered syntax update
Joachim Breitner [Sun, 7 Jun 2009 22:08:37 +0000 (00:08 +0200)]
fiveFingered syntax update

11 years agoRename variable
Joachim Breitner [Sun, 7 Jun 2009 21:49:23 +0000 (23:49 +0200)]
Rename variable

11 years agoMore Show instances!
Joachim Breitner [Sun, 7 Jun 2009 21:42:30 +0000 (23:42 +0200)]
More Show instances!

11 years agoBig refactor: Get rid of Lseed
Joachim Breitner [Sun, 7 Jun 2009 21:41:41 +0000 (23:41 +0200)]
Big refactor: Get rid of Lseed

Apply Grammar directly to the plant in question

11 years agoAllow "SET TAG" nach BLOSSOM
Joachim Breitner [Sun, 7 Jun 2009 20:40:26 +0000 (22:40 +0200)]
Allow "SET TAG" nach BLOSSOM

11 years agoSubstract (1-lightFalloff) from the light a branch gets
Joachim Breitner [Sat, 30 May 2009 17:03:44 +0000 (19:03 +0200)]
Substract (1-lightFalloff) from the light a branch gets

11 years agoMake renderLightedPlanted work again
Joachim Breitner [Sat, 30 May 2009 17:03:09 +0000 (19:03 +0200)]
Make renderLightedPlanted work again

11 years agoLower penalty for plant size
Joachim Breitner [Sat, 30 May 2009 16:46:45 +0000 (18:46 +0200)]
Lower penalty for plant size

11 years agoA star on the christmas tree
Joachim Breitner [Sat, 30 May 2009 16:46:26 +0000 (18:46 +0200)]
A star on the christmas tree

11 years agoMore examples: Simple grass
Joachim Breitner [Sat, 30 May 2009 16:30:55 +0000 (18:30 +0200)]
More examples: Simple grass

11 years agoAdd size of all plants of one owner
Joachim Breitner [Sat, 30 May 2009 16:30:41 +0000 (18:30 +0200)]
Add size of all plants of one owner

11 years agoCreate new plants when seeds are seeded
Joachim Breitner [Sat, 30 May 2009 16:30:11 +0000 (18:30 +0200)]
Create new plants when seeds are seeded

11 years agoFix definition of Foldable
Joachim Breitner [Sat, 30 May 2009 16:01:53 +0000 (18:01 +0200)]
Fix definition of Foldable

11 years agoIn applyGenome, work on an AnnotatedGarden
Joachim Breitner [Sat, 30 May 2009 15:47:53 +0000 (17:47 +0200)]
In applyGenome, work on an AnnotatedGarden

11 years agoRemove unused function
Joachim Breitner [Sat, 30 May 2009 15:33:12 +0000 (17:33 +0200)]
Remove unused function

11 years agoThread growth to the renderer, draw blossom
Joachim Breitner [Sat, 30 May 2009 13:17:39 +0000 (15:17 +0200)]
Thread growth to the renderer, draw blossom

11 years agoParse the Blossom action
Joachim Breitner [Sat, 30 May 2009 12:57:29 +0000 (14:57 +0200)]
Parse the Blossom action

11 years agoAdd Seed Growths parameter
Joachim Breitner [Sat, 30 May 2009 12:52:10 +0000 (14:52 +0200)]
Add Seed Growths parameter

11 years agoUse StipInfo in renderer
Joachim Breitner [Sat, 30 May 2009 12:42:07 +0000 (14:42 +0200)]
Use StipInfo in renderer

11 years agoNew example: Christmas tree
Joachim Breitner [Sat, 30 May 2009 12:19:15 +0000 (14:19 +0200)]
New example: Christmas tree

11 years agoRemove No-UserTag-Support-Error
Joachim Breitner [Sat, 30 May 2009 12:19:02 +0000 (14:19 +0200)]
Remove No-UserTag-Support-Error

11 years agoAdd UserTag support
Joachim Breitner [Sat, 30 May 2009 12:13:18 +0000 (14:13 +0200)]
Add UserTag support

(untested yet, but compiles)

11 years agoBig refactor: Move angle into Plant constructor
Joachim Breitner [Sat, 30 May 2009 11:54:30 +0000 (13:54 +0200)]
Big refactor: Move angle into Plant constructor

This makes a few things easier, I pressume. Especially, the list of
tuples is avoided.

11 years agoRefactor Grammar a bit
Joachim Breitner [Sat, 30 May 2009 11:35:14 +0000 (13:35 +0200)]
Refactor Grammar a bit

Now, there can be only one Branch or one Grow action per rule. Branch
rules takes more than one ANGLE, LENGHT pairs. Both actions can be
followed by "SET TAG = ..".

11 years agoMake dbscorer fill the DB with the result
Joachim Breitner [Sun, 24 May 2009 20:36:36 +0000 (22:36 +0200)]
Make dbscorer fill the DB with the result

11 years agoProgram to quickly score two plants from the DB against each other
Joachim Breitner [Sun, 24 May 2009 19:26:50 +0000 (21:26 +0200)]
Program to quickly score two plants from the DB against each other

11 years agoAdd an owner field to plants
Joachim Breitner [Sun, 24 May 2009 19:26:16 +0000 (21:26 +0200)]
Add an owner field to plants

11 years agoDocument Observer fields
Joachim Breitner [Sun, 24 May 2009 18:59:04 +0000 (20:59 +0200)]
Document Observer fields

11 years agoprogram to silently run and score a garden
Joachim Breitner [Sun, 24 May 2009 18:43:00 +0000 (20:43 +0200)]
program to silently run and score a garden

11 years agoCreate a proper mainloop with an observer parameter
Joachim Breitner [Sun, 24 May 2009 18:33:14 +0000 (20:33 +0200)]
Create a proper mainloop with an observer parameter

11 years agoIgnore some more files
Joachim Breitner [Sun, 17 May 2009 21:23:44 +0000 (23:23 +0200)]
Ignore some more files

11 years agoviewer that reads code from the DB
Joachim Breitner [Sun, 17 May 2009 21:23:00 +0000 (23:23 +0200)]
viewer that reads code from the DB

11 years agoAlso extract main loop
Joachim Breitner [Sun, 17 May 2009 21:00:52 +0000 (23:00 +0200)]
Also extract main loop

11 years agoAlso export DBCode
Joachim Breitner [Sun, 17 May 2009 21:00:37 +0000 (23:00 +0200)]
Also export DBCode

11 years agoCopy out some functions from main
Joachim Breitner [Sun, 17 May 2009 20:45:52 +0000 (22:45 +0200)]
Copy out some functions from main

11 years agoLseed.DB
Joachim Breitner [Sun, 17 May 2009 20:21:46 +0000 (22:21 +0200)]
Lseed.DB

11 years agoUpdate DB-Specification (season, seasonscore)
Joachim Breitner [Sun, 17 May 2009 19:56:22 +0000 (21:56 +0200)]
Update DB-Specification (season, seasonscore)

11 years agoadded progressbar on validate
unknown [Wed, 13 May 2009 23:43:33 +0000 (01:43 +0200)]
added progressbar on validate

11 years agoadded Validation support
unknown [Wed, 13 May 2009 22:53:55 +0000 (00:53 +0200)]
added Validation support

11 years agoadded Validation support
unknown [Wed, 13 May 2009 22:52:53 +0000 (00:52 +0200)]
added Validation support

11 years agoadded sourcefiles for web frontend
unknown [Mon, 11 May 2009 18:03:40 +0000 (20:03 +0200)]
added sourcefiles for web frontend

11 years agoNew example code: Hops on the ground
Joachim Breitner [Sun, 10 May 2009 21:39:54 +0000 (23:39 +0200)]
New example code: Hops on the ground

11 years agoImplement various matchable features
Joachim Breitner [Sun, 10 May 2009 21:37:36 +0000 (23:37 +0200)]
Implement various matchable features

11 years agoDrop restriction that angles are pointing forward
Joachim Breitner [Sun, 10 May 2009 21:36:35 +0000 (23:36 +0200)]
Drop restriction that angles are pointing forward

11 years agofractor application of rules in own function
Joachim Breitner [Sun, 10 May 2009 21:12:04 +0000 (23:12 +0200)]
fractor application of rules in own function

11 years agoEnforce a minimum angular distance between forks
Joachim Breitner [Thu, 7 May 2009 23:09:29 +0000 (01:09 +0200)]
Enforce a minimum angular distance between forks

11 years agoEnforce a minimum angular distance between forks
Joachim Breitner [Thu, 7 May 2009 23:02:58 +0000 (01:02 +0200)]
Enforce a minimum angular distance between forks

11 years agohaskellisher style
Joachim Breitner [Thu, 7 May 2009 22:30:47 +0000 (00:30 +0200)]
haskellisher style

11 years agoSome non-syntactical checking of rules
Joachim Breitner [Thu, 7 May 2009 22:27:56 +0000 (00:27 +0200)]
Some non-syntactical checking of rules

11 years agoYet another example
Joachim Breitner [Thu, 7 May 2009 21:58:41 +0000 (23:58 +0200)]
Yet another example

11 years agoAllow multiple branches
Joachim Breitner [Thu, 7 May 2009 14:38:57 +0000 (16:38 +0200)]
Allow multiple branches

11 years agoFix "GROW TO" grammar
Joachim Breitner [Thu, 7 May 2009 14:29:03 +0000 (16:29 +0200)]
Fix "GROW TO" grammar

11 years agoRefactor: Simplify Plant datatype
Joachim Breitner [Thu, 7 May 2009 14:00:00 +0000 (16:00 +0200)]
Refactor: Simplify Plant datatype

Ah, type safety is great. I think I did not make mistakes :-)

11 years agoIgnore validate via .gitignore
Joachim Breitner [Tue, 5 May 2009 23:16:56 +0000 (01:16 +0200)]
Ignore validate via .gitignore

11 years agominor code golfing
Joachim Breitner [Tue, 5 May 2009 23:14:36 +0000 (01:14 +0200)]
minor code golfing

11 years agoLseed validator program
Joachim Breitner [Tue, 5 May 2009 22:47:43 +0000 (00:47 +0200)]
Lseed validator program

11 years agoremove debug data from main.hs
Joachim Breitner [Sun, 3 May 2009 22:40:56 +0000 (00:40 +0200)]
remove debug data from main.hs

11 years agoGrammar parser
Joachim Breitner [Sun, 3 May 2009 22:39:26 +0000 (00:39 +0200)]
Grammar parser

not yet fully complete (e.g. multiple actions, tags on actions), but
otherwise functional. Two example plants in example/ directory.

11 years agoStipe width dependent on plant size
Joachim Breitner [Thu, 23 Apr 2009 23:13:50 +0000 (01:13 +0200)]
Stipe width dependent on plant size

11 years agoFaster growths for debugging
Joachim Breitner [Thu, 23 Apr 2009 23:13:30 +0000 (01:13 +0200)]
Faster growths for debugging

11 years agoAdd AddBranch to Grammar
Joachim Breitner [Sun, 19 Apr 2009 11:04:27 +0000 (13:04 +0200)]
Add AddBranch to Grammar

11 years agoUse Grammar (testwise)
Joachim Breitner [Sun, 19 Apr 2009 10:59:15 +0000 (12:59 +0200)]
Use Grammar (testwise)

11 years agoCompiler for GrammarRules to LSystemRules
Joachim Breitner [Sun, 19 Apr 2009 10:59:04 +0000 (12:59 +0200)]
Compiler for GrammarRules to LSystemRules

11 years agoDefined Data Type for Grammar files
Joachim Breitner [Sun, 19 Apr 2009 10:58:37 +0000 (12:58 +0200)]
Defined Data Type for Grammar files

11 years agoNo data in Bud or Fork
Joachim Breitner [Mon, 2 Mar 2009 20:44:51 +0000 (21:44 +0100)]
No data in Bud or Fork

11 years agoMake LRules based on explicit Actions
Joachim Breitner [Mon, 2 Mar 2009 20:30:37 +0000 (21:30 +0100)]
Make LRules based on explicit Actions

11 years agoLimit growth by cost of size^2
Joachim Breitner [Mon, 2 Mar 2009 19:29:45 +0000 (20:29 +0100)]
Limit growth by cost of size^2

11 years agoGroths depends on light
Joachim Breitner [Mon, 2 Mar 2009 09:03:01 +0000 (10:03 +0100)]
Groths depends on light

Per tick (fraction of a day), calculate the currently gathered light and
grow slower if required.

11 years agoMore higher order functions
Joachim Breitner [Mon, 2 Mar 2009 07:49:23 +0000 (08:49 +0100)]
More higher order functions

11 years agoremainingGrowths
Joachim Breitner [Mon, 2 Mar 2009 07:40:15 +0000 (08:40 +0100)]
remainingGrowths

11 years agotype synonyms for growing stuff
Joachim Breitner [Mon, 2 Mar 2009 07:37:27 +0000 (08:37 +0100)]
type synonyms for growing stuff

11 years agofix for gtk2hs-0.10.0
Joachim Breitner [Mon, 23 Feb 2009 19:39:17 +0000 (20:39 +0100)]
fix for gtk2hs-0.10.0

11 years agosimplyfy graphics
Joachim Breitner [Wed, 18 Feb 2009 22:48:25 +0000 (23:48 +0100)]
simplyfy graphics

11 years agoproper time display
Joachim Breitner [Wed, 18 Feb 2009 22:38:09 +0000 (23:38 +0100)]
proper time display

11 years agocomplete comment
Joachim Breitner [Wed, 18 Feb 2009 22:33:19 +0000 (23:33 +0100)]
complete comment

11 years agoangle must not be horizontal, otherwise we get singularities
Joachim Breitner [Wed, 18 Feb 2009 22:32:40 +0000 (23:32 +0100)]
angle must not be horizontal, otherwise we get singularities

11 years agoPlants are growing continuously now
Joachim Breitner [Wed, 18 Feb 2009 22:24:02 +0000 (23:24 +0100)]
Plants are growing continuously now

11 years agoremove debugging print
Joachim Breitner [Wed, 18 Feb 2009 21:06:59 +0000 (22:06 +0100)]
remove debugging print

11 years agofactor out mapLine
Joachim Breitner [Wed, 11 Feb 2009 10:03:21 +0000 (11:03 +0100)]
factor out mapLine

11 years agoanother test garden
Joachim Breitner [Mon, 9 Feb 2009 23:09:43 +0000 (00:09 +0100)]
another test garden

11 years agoStore light information in original Garden, using ST. Use that for drawing
Joachim Breitner [Mon, 9 Feb 2009 22:34:39 +0000 (23:34 +0100)]
Store light information in original Garden, using ST. Use that for drawing

11 years agoremove debugging output
Joachim Breitner [Sun, 8 Feb 2009 22:45:44 +0000 (23:45 +0100)]
remove debugging output

11 years agofix lineLength
Joachim Breitner [Sun, 8 Feb 2009 22:45:09 +0000 (23:45 +0100)]
fix lineLength

11 years agooutput plant size (code is getting ugly)
Joachim Breitner [Sun, 8 Feb 2009 22:40:26 +0000 (23:40 +0100)]
output plant size (code is getting ugly)

11 years agomore general plant*Length functions
Joachim Breitner [Sun, 8 Feb 2009 22:40:19 +0000 (23:40 +0100)]
more general plant*Length functions

11 years agoYellow border surrounding
Joachim Breitner [Sun, 8 Feb 2009 22:26:21 +0000 (23:26 +0100)]
Yellow border surrounding