summaryrefslogtreecommitdiff
path: root/src/pyinterp.h
Commit message (Collapse)AuthorAgeFilesLines
* Fixes to Python importing; removed "hello" precommandJohn Wiegley2009-11-101-39/+11
|
* Segregated symbols into 5 separate namespacesJohn Wiegley2009-11-041-1/+2
| | | | | | | | | | | | | | | | | | | | | The different namespaces are: Function Value expression functions, which receive a "context" Option Command-line options Precommand Commands which are invoked before reading the journal Command Commands which are invoked after reading the journal Directive Directives that occur at column 0 in a data file This greatly eases the ability for Python uses to add intercept hooks to change how the basic Ledger module functions. An example of what should be possible soon: import ledger def my_foo_handler(value): print "--foo received:", value ledger.add_handler(ledger.Option, "foo=", my_foo_handler)
* Fixed many compiler warnings from g++ 4.4John Wiegley2009-10-251-7/+16
|
* Added a "python" command, which invokes Py_MainJohn Wiegley2009-03-031-0/+2
|
* Added a new --depth optionJohn Wiegley2009-02-251-1/+0
|
* Added a new level of Python integrationJohn Wiegley2009-02-241-13/+20
|
* Moved python/*.cc files into src/John Wiegley2009-02-241-0/+134
This is because soon, I intend to have real Python source files in python/.