-
- Downloads
Basic implementation of import.
import works for simple cases. Still work to do on finding the right script, and setting globals/locals correctly when running an imported function.
Showing
- py/builtin.c 3 additions, 13 deletionspy/builtin.c
- py/builtinimport.c 84 additions, 0 deletionspy/builtinimport.c
- py/lexer.h 3 additions, 0 deletionspy/lexer.h
- py/lexerunix.c 20 additions, 0 deletionspy/lexerunix.c
- py/lexerunix.h 2 additions, 0 deletionspy/lexerunix.h
- py/map.h 0 additions, 4 deletionspy/map.h
- py/obj.h 4 additions, 1 deletionpy/obj.h
- py/objfun.c 26 additions, 13 deletionspy/objfun.c
- py/runtime.c 19 additions, 8 deletionspy/runtime.c
- py/runtime.h 6 additions, 0 deletionspy/runtime.h
- py/showbc.c 11 additions, 3 deletionspy/showbc.c
- py/vstr.c 5 additions, 1 deletionpy/vstr.c
- stm/Makefile 1 addition, 0 deletionsstm/Makefile
- stm/lexerstm.c 5 additions, 0 deletionsstm/lexerstm.c
- tests/basics/run-tests 1 addition, 1 deletiontests/basics/run-tests
- tests/basics/tests/import1a.py 2 additions, 0 deletionstests/basics/tests/import1a.py
- tests/basics/tests/import1b.py 1 addition, 0 deletionstests/basics/tests/import1b.py
- unix-cpy/Makefile 1 addition, 0 deletionsunix-cpy/Makefile
- unix/Makefile 1 addition, 0 deletionsunix/Makefile
- unix/main.c 12 additions, 0 deletionsunix/main.c
Loading
Please register or sign in to comment