Browse files

+ Implemented help()

  • Loading branch information...
1 parent c36f054 commit 725ef9b2b04dabb31486023c5181eed19ea068db Christian Iversen committed Jan 15, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 pyjaco/stdlib/10-builtin.js
View
8 pyjaco/stdlib/10-builtin.js
@@ -178,7 +178,13 @@ __builtins__.PY$hash = function(obj) {
}
};
-__builtins__.PY$help = $PY.c_nif;
+__builtins__.PY$help = function() {
+ __builtins__.PY$print("Welcome to pyjaco, the Python-to-Javascript compiler!\n" +
+ " Homepage : pyjaco.org\n" +
+ " Github : https://github.com/chrivers/pyjaco\n" +
+ " Email : developer@pyjaco.org\n" +
+ " Google group : http://groups.google.com/group/pyjaco");
+};
__builtins__.PY$hex = function(num) {
if (num.PY$__class__ === __builtins__.PY$int) {

0 comments on commit 725ef9b

Please sign in to comment.