batavia icon indicating copy to clipboard operation
batavia copied to clipboard

A JavaScript implementation of the Python virtual machine.

Results 52 batavia issues
Sort by recently updated
recently updated
newest added

Hi, I was wondering if it makes sense to use an implementation for the python builtins that's actually implemented in python. For example, pypy has the following https://bitbucket.org/pypy/pypy/src/35c27789e35368ac3ebefedd83af0829d2cf89d4/pypy/module/__builtin__/ Brython similarly...

## Expected Behavior ## Current Behavior ERROR in ./batavia/batavia.js Module not found: Error: Can't resolve './stdlib' in '/home/parth/pybee/batavia/batavia' @ ./batavia/batavia.js 21:20-39 ERROR in ./batavia/builtins/__import__.js Module not found: Error: Can't resolve...

`batavia/core/builtins.js` is an implementation of all the Python builtins - methods like `print()`, `input()`, `list()`, `abs()`, `min()` and so on. An implementation of these builtins is required.

enhancement
up-for-grabs
first-timers-only

Javascript has a specific set of allowed operator and operations. Python has a set of operators and operations as well. However, the two don't match exactly. For example, Javascript behavior...

enhancement
up-for-grabs
first-timers-only

3 of the links given in the the section : 'docs/how-to/contribute-code.rst' appear to be broken. I could help fix this by replacing them with the correct links if someone could...

## Expected Behavior ``` # Expected - Python 3.7.3 >>> print(pow(0.7071067811865476+0.7071067811865475j, 18446744073709551616)) (0.5092909260061389+0.8605944182295221j) ``` ## Current Behavior ``` # Batavia (testserver demo - copy/paste and run) print(pow(0.7071067811865476+0.7071067811865475j, 18446744073709551616)) (0.7531061966369503+0.6578989714135652j) ```...

This PR builds on #819, specifically it: - resolves the merge conflicts with master - fixes some typos - adds some links, especially to the `builtins` guide - migrates the...

Docs felt a bit rusty. I decided to add some pages. I tried to think of what I would've liked to know on my first commit, and I included some...

## Expected Behavior `type(tuple)` returns an incorrect value ## Current Behavior When I try this on master, this returns the javascript function with the `Tuple` constructor. I expect this to...

*Equivalent to pybee/voc#580.* I'm a maintainer of Hypothesis, and discussed using it to test Batavia with Russell (@freakboy3742) at the PyConAU sprints. I've got more than enough to do working...