diff options
author | Luke Kanies <luke@madstop.com> | 2005-04-13 15:23:57 +0000 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2005-04-13 15:23:57 +0000 |
commit | 5416017c05e44fc635ad14ffdf1ac1163a4cc6e5 (patch) | |
tree | 29a33a7dd1389abde8d92219a17beead01ba1f47 /notes/execution | |
parent | 54e9b5e3561977ea063417da12c46aad2a4c1332 (diff) | |
download | puppet-5416017c05e44fc635ad14ffdf1ac1163a4cc6e5.tar.gz puppet-5416017c05e44fc635ad14ffdf1ac1163a4cc6e5.tar.xz puppet-5416017c05e44fc635ad14ffdf1ac1163a4cc6e5.zip |
reorganizing
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@95 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'notes/execution')
-rw-r--r-- | notes/execution | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/notes/execution b/notes/execution new file mode 100644 index 000000000..e3433b396 --- /dev/null +++ b/notes/execution @@ -0,0 +1,28 @@ +execution path: + +parse the entire file recursively + imports are definitely inline + + + +what I'm trying to resolve is: + can the entire thing be parsed and then executed, or do the objects + need to be able to take into account the results of execution? + most other languages make a clear differentation between values + and executables, so why shouldn't we? as long as we support some + kind of executable, it should be fine + i need to keep in mind that the definitions of operations and objects + will not actually change as a result of execution, merely the details + does this matter? + +objects are created during parsing + this means that i have the choice of: + --not creating operations at parse time + --dealing with this nasty interface to parse-time operations + if we don't have this nasty interface, then execution can't affect + the contents of operations + would that make sense? a file with multiple operations whose + different operations can change the values + +here's the crucial question: + is there a difference between executing the code and performing the operations? |