Commits

Show all
Author Commit Message Labels Comments Date
masklinn
Added a bunch of JSAPI functions, fixes #13 (kinda, incomplete)
Tags
0.7
masklinn
Test PY_call
masklinn
Implement conversion of booleans to string also move bool-related tests in their own file
masklinn
Implement conversion of floats to string also move float-related tests in their own file
masklinn
Correctly handle non-py.str being returned by __str__, fixes issue 17
masklinn
Remove spurious semicolon
masklinn
arithmetic operators (full support including fallbacks), getting data from dicts, formal parameters parsing (including *args and **kwargs), classmethods, oh my
masklinn
Add classmethods, fixes #4; list supported builtins
Tags
0.6
masklinn
Add variadics to parseArgs, move utils docs around, add doc for PY_call
masklinn
Massive change: py.js types aren't JS constructors anymore The dichotomy was bothersome (although the rewards are nowhere near as great as I'd originally believed). * Started adding better documentation * Added a PY_call utility method (to be documented) to handle the weird parts of calling a type (which is a big reason why the payout of constructor-less py.js types is not great) * Added a fromJSON method (other side of toJSON) * Added support for __…
masklinn
Document conversions betweem JS and py.js
masklinn
Wording improvements
masklinn
Namespace for API helpers looks like shit after all. Use prefix to names
masklinn
Add actual documentation, start ripping out readme, fixes #10
masklinn
Add formal function for parsing parameters
masklinn
Add support for informally deprecated <> operator, fixes #9
masklinn
Document latest changes
masklinn
Implement __getitem__ and get on dicts, fixes issue 7
masklinn
Make __hash__ return strings instead of numbers, simpler to implement fixes issue 8
masklinn
Implement conversion of Array to py.list and tuple/list.__getitem__ (very basic)
masklinn
Automatically convert raw js Object values to py.object values (with all attributes correctly set)
masklinn
Fix stupid bug in constructor __call__ arguments forwarding
masklinn
Fix transformation of arbitrary callable attributes into instancemethods for no good reason
masklinn
Implement string concatenation via + operator
masklinn
Update readme and todo
masklinn
Hook __getitem__ into evaluator (not implemented by any type yet)
masklinn
Implement third prefix numerical operator in data model (call right method)
masklinn
Fully implement (untested) binary numerical operators Remove duplications in binary operators: * map {operators: (forward, reflected, fallback|null)} * only provide operands and operator to PY_op, it can fetch the rest itself * use switch fallthrough to only have two PY_op callsites: boolean operators and numerical binary operators, simpler to grok and less bug-prone (especially for numerical ops as they don't get provided with pre-evaluated …
masklinn
Add basic arithmetics operator todo: rest of the numerical ops, test that reflected ops are called and work, conversions
masklinn
Now supports kwargs, worth a version
  1. Prev
  2. Next