Commit Graph

76 Commits

Author SHA1 Message Date
Eric Schulte 8ec719aefb passing all tests, but have a couple more tasks before merge
1) broke reading from #+resname lines
2) shell sometimes stalls indefinitely
3) need condition-case for safe removal of filter when C-g during execution
4) need to add tests for session behavior
2009-06-12 17:02:37 -07:00
Eric Schulte d261e178e9 passing all but one test 2009-06-12 16:50:53 -07:00
Eric Schulte 66162b2e4e more looking into the remaining errors 2009-06-12 16:42:56 -07:00
Eric Schulte b7c32fc5d8 passing almost all tests 2009-06-12 16:34:06 -07:00
Eric Schulte d41466e5bc now really passing all basic tests 2009-06-12 16:23:28 -07:00
Eric Schulte 8f9ae7314a now passing basic-ruby test 2009-06-12 16:08:51 -07:00
Eric Schulte 5675e56585 sessions are now working in R 2009-06-12 15:31:52 -07:00
Eric Schulte 9623b16914 fixed some weird long-prompt issues with shell comint buffer 2009-06-12 15:20:23 -07:00
Eric Schulte 2dea1ea367 shell is now handling multiple sessions 2009-06-12 14:56:30 -07:00
Eric Schulte f4798d3e83 python can now handle multiple sessions 2009-06-12 14:49:11 -07:00
Eric Schulte 368cdd2a3e brought in org-babel.org changes from master 2009-06-12 13:35:04 -07:00
Eric Schulte 8093091103 DONE rework evaluation lang-by-lang [4/4] 2009-06-12 13:10:33 -07:00
Eric Schulte 431715e6db shell support is pretty much working 2009-06-12 13:09:20 -07:00
Eric Schulte b64be81363 moving language-specific files into their own directory 2009-06-12 08:59:38 -07:00
Eric Schulte 1be99d1b35 python is basically up to snuff (needs more work on sessions) 2009-06-12 08:46:00 -07:00
Eric Schulte 190a66c6af ruby now respects the scalar/vector :results header arguments 2009-06-12 08:33:51 -07:00
Eric Schulte 82e7c86ea3 R evaluation is pretty much up to snuff 2009-06-12 08:29:21 -07:00
Eric Schulte 86e4597a7a R results now obey the scalar/vector :results header arguments 2009-06-12 08:10:54 -07:00
Eric Schulte e0dcbce75e evaluation is working in R capturing both outputs and values 2009-06-12 07:55:33 -07:00
Eric Schulte 005e682948 making progress bringing org-babel-R.el into the new evaluation schema 2009-06-11 17:04:42 -07:00
Eric Schulte 2c1b04eecb ruby is now working with sessions, output-based-results, and value(functional)-based-results 2009-06-11 15:34:34 -07:00
Eric Schulte 6698edbe83 finally think I'm on the right track for output vs. values, mostly working w/ruby
- moved ruby functions into their own buffer
  - removed org-babel-sessions.el
  - drastically scaled down org-babel-comint.el (may grow later if we
    find duplication between language buffers)
  - removed org-babel-script.el
  - adjusted org-babel-init.el to reflect new file layout

For the big breakthrough see `org-babel-ruby-evaluate' in
org-babel-ruby.el.  This will be the model upon which all future
language evaluations will be built.
2009-06-11 15:15:59 -07:00
Eric Schulte 8d0fd18933 working on org-babel-comint for automatically keeping a ring 2009-06-10 17:27:06 -07:00
Eric Schulte 9c70974391 started working on ruby 'script' execution 2009-06-09 16:33:36 -07:00
Eric Schulte f3da4d0321 functional results now working with org-babel-comint and org-babel-script 2009-06-09 16:10:43 -07:00
Eric Schulte 39d1674f30 org-babel-R is now able to assign variables 2009-06-09 15:28:59 -07:00
Eric Schulte d3f1d07066 org-babel-R can now run in 'script' mode 2009-06-09 15:02:01 -07:00
Eric Schulte ccddf78dca the script/functional return values should be handled by header arguments
also, an echo header (like in R) argument would probably be
 appropriate as well.
2009-06-08 17:58:53 -07:00
Eric Schulte d724ca921a tweaking tasks for sessions and script/functional evaluation 2009-06-08 16:38:13 -07:00
Eric Schulte e6729c1cae even more thoughts on evaluation, results, models and options 2009-06-08 16:31:13 -07:00
Dan Davison 4446fd1f07 new TODO: figure out how to handle errors during evaluation 2009-06-06 21:29:35 -04:00
Dan Davison d0938cc70d More thoughts on scripting vs. functional approaches in org-babel 2009-06-06 21:21:21 -04:00
Eric Schulte c175d3ce0d playing with org-babel-script and comint buffers/functions 2009-06-03 17:37:50 -07:00
Eric Schulte 2a663b9e09 R is now using last output (with default session) and passing all tests 2009-06-03 15:59:27 -07:00
Eric Schulte 49db1e523c Merge branch 'master' into session
Conflicts:
	org-babel.org
2009-06-03 15:30:10 -07:00
Eric Schulte b1c103890c *even more* discussion of session implementation issues 2009-06-03 15:23:45 -07:00
Dan Davison 8ac2a7daa6 Added another multilingual example. One issue is that spaces in the string cause vector output. 2009-06-03 12:33:58 -04:00
Dan Davison 21d01aea91 Some notes on possible support for named fields / rows / columns in org-babel and supported languages. These are just preliminary and don't outline a solution. My feeling is that this will require a bit more thought to avoid being an unrigorous hack. 2009-06-03 11:32:24 -04:00
Eric Schulte bbf89dea08 fixed type in org-babel.org 2009-06-02 20:50:10 -07:00
Eric Schulte dccbe633c9 discuss complication of mixing functional and imperative block evaluation 2009-06-02 20:34:20 -07:00
Eric Schulte 517253a2d0 beginning to add sessions 2009-06-02 16:28:56 -07:00
Eric Schulte bba80bb837 working on sessions 2009-06-02 16:26:57 -07:00
Dan Davison 0df550d84c Minor updates and responses in the sessions planning subtree. 2009-06-02 16:45:31 -04:00
Eric Schulte 37758310e0 planning *session* task order, and separating "*Org Edit Src Example* buffer" tasks 2009-06-01 17:58:37 -07:00
Eric Schulte fcd5e8f272 fleshing out the *sessions* discussion and TODOs 2009-06-01 17:28:34 -07:00
Eric Schulte c38294d21f DONE Remove protective commas from # comments before evaluating 2009-06-01 16:56:59 -07:00
Dan Davison 8fef1f0509 More notes on sessions: need for header arg evaluation when we edit code, and need for removing protective commas 2009-06-01 15:14:35 -04:00
Dan Davison f03e3ed603 Further notes on org-babel session and ESS and *Org Edit Src Example* buffers. 2009-05-31 18:07:13 -04:00
Dan Davison ce96d45374 Added reminder/request that we bear ESS in mind when designing org-babel 'sessions' 2009-05-31 17:48:00 -04:00
Dan Davison e7f860cb19 Altered the python code in the chained references example. AIui the example was producing the correct answer (ruby class Array) but for the wrong reason (python was returning None) 2009-05-30 15:01:55 -04:00