-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move away from a CPython-like file structure. CPython is a C project …
…with its own build structure. Puffin is a Python module with some extensions written in Winxed. It makes little sense to keep CPython's structure in Puffin, especially if Puffin is to end up on PyPI. --HG-- rename : Objects/bla.winxed => objects/bla.winxed rename : Objects/core.winxed => objects/core.winxed rename : Objects/dicttype.winxed => objects/dicttype.winxed rename : Objects/exceptions.winxed => objects/exceptions.winxed rename : Objects/functype.winxed => objects/functype.winxed rename : Objects/intobject.winxed => objects/intobject.winxed rename : Objects/listobject.winxed => objects/listobject.winxed rename : Objects/object.nqp => objects/object.nqp rename : Objects/strobject.winxed => objects/strobject.winxed rename : Objects/typeobject.winxed => objects/typeobject.winxed rename : Python/__init__.py => puffin/__init__.py rename : Python/compiler.py => puffin/compiler.py rename : Lib/test/bootstrap/builtins.py => puffin/test/bootstrap/builtins.py rename : Lib/test/bootstrap/class-list.py => puffin/test/bootstrap/class-list.py rename : Lib/test/bootstrap/class-str.py => puffin/test/bootstrap/class-str.py rename : Lib/test/bootstrap/control-flow.py => puffin/test/bootstrap/control-flow.py rename : Lib/test/bootstrap/dicts.py => puffin/test/bootstrap/dicts.py rename : Lib/test/bootstrap/exceptions.py => puffin/test/bootstrap/exceptions.py rename : Lib/test/bootstrap/functions.py => puffin/test/bootstrap/functions.py rename : Lib/test/bootstrap/grammar.py => puffin/test/bootstrap/grammar.py rename : Lib/test/bootstrap/listcomps.py => puffin/test/bootstrap/listcomps.py rename : Lib/test/bootstrap/lists.py => puffin/test/bootstrap/lists.py rename : Lib/test/bootstrap/literals.py => puffin/test/bootstrap/literals.py rename : Lib/test/bootstrap/op-assign.py => puffin/test/bootstrap/op-assign.py rename : Lib/test/bootstrap/op-bitwise.py => puffin/test/bootstrap/op-bitwise.py rename : Lib/test/bootstrap/op-boolean.py => puffin/test/bootstrap/op-boolean.py rename : Lib/test/bootstrap/op-cmp.py => puffin/test/bootstrap/op-cmp.py rename : Lib/test/bootstrap/op-logic-compare.py => puffin/test/bootstrap/op-logic-compare.py rename : Lib/test/bootstrap/op-math-compare.py => puffin/test/bootstrap/op-math-compare.py rename : Lib/test/bootstrap/op-math.py => puffin/test/bootstrap/op-math.py rename : Lib/test/bootstrap/simplest.py => puffin/test/bootstrap/simplest.py rename : Lib/test/bootstrap/variables.py => puffin/test/bootstrap/variables.py rename : Python/test_compiler.py => puffin/test_compiler.py rename : Python/util.py => puffin/util.py
- Loading branch information
1 parent
2c80983
commit 8e71dcf
Showing
37 changed files
with
21 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
namespace Python [HLL] { | ||
|
||
class bool : type { | ||
function bool(env) { | ||
self.type('int', env.type, env.object); | ||
|
||
self.__dict__['__init__'] = function(obj, val) { | ||
obj.content = val; | ||
}; | ||
self.__dict__['__repr__'] = function(obj) { | ||
if(obj.content) | ||
return 'True'; | ||
else | ||
return 'False'; | ||
}; | ||
} | ||
} | ||
|
||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters