1
0
mirror of https://github.com/robertkrimen/otto synced 2025-09-28 18:45:22 +08:00
Commit Graph

57 Commits

Author SHA1 Message Date
Robert Krimen
9e83d4daaf test262: Can't handle the UTF-16 right now 2012-10-17 12:13:02 -07:00
Robert Krimen
ed98144c35 Remarks on UTF-8/16 2012-10-17 11:54:04 -07:00
Robert Krimen
474a473e36 Convert _syntaxError to SyntaxError (eval) 2012-10-17 10:27:22 -07:00
Robert Krimen
32cbffe7b8 Avoid backing up when checking for line terminator 2012-10-17 01:05:52 -07:00
Robert Krimen
a780c85861 Fill out switch, for, for-in labelling
This and the previous commit fix #4
2012-10-16 23:11:35 -07:00
Robert Krimen
58cf2a4b67 Add break capability to switch 2012-10-16 22:57:25 -07:00
Robert Krimen
e3211c0351 Scan FORM FEED (U+000C) as whitespace 2012-10-16 16:42:03 -07:00
Robert Krimen
b729c55d84 Scan VERTICAL TAB (U+000B) as whitespace 2012-10-16 16:38:19 -07:00
Robert Krimen
3dcc92af9b Gauntlet system for test262 (run until failing) 2012-10-16 16:33:38 -07:00
Robert Krimen
d4fadea2fc Make sure to grab tests that "failed as expected" 2012-10-16 16:11:08 -07:00
Robert Krimen
38a017b0dd Better test262 test procedure 2012-10-16 15:53:01 -07:00
Robert Krimen
f5540f1472 Scan NO-BREAK SPACE (U+00A0) as whitespace 2012-10-16 12:03:59 -07:00
Robert Krimen
1254d21f2a WIP v8-centric, test262 suite culling 2012-10-16 12:01:24 -07:00
Robert Krimen
6e533b9e67 Require identifier for declared functions 2012-10-16 10:27:20 -07:00
Robert Krimen
d4c606a2a0 Add test262 testing environment
http://test262.ecmascript.org/
2012-10-16 10:07:04 -07:00
Robert Krimen
defac5b22e Fix prototype property being read-only
Fix #3
2012-10-15 22:12:36 -07:00
Robert Krimen
235c19bd71 Substitute undefined for failed captures in String.replace
When String.replace(...) is called with a replacement function.
Again, similar to the scenario in #2.
2012-10-14 22:50:17 -07:00
Robert Krimen
b718c5ec2a Handle missing captures gracefully in String.replace
This is related to #2
2012-10-14 22:33:22 -07:00
Robert Krimen
a12391834e Sometimes RegExp captures can fail, detect this
Fix #2 (In .exec so far)
2012-10-14 21:45:38 -07:00
Robert Krimen
89e26f042e Allow empty test/update in for statements
Fix #1
2012-10-14 10:42:06 -07:00
Robert Krimen
7dfbf6ab13 Better regular expression syntax checking
And a limitation elaboration
2012-10-12 18:55:41 -07:00
Robert Krimen
b6f8642fe2 Add note about regular expression limitation 2012-10-11 22:28:41 -07:00
Robert Krimen
776f4f96c5 Catch *_syntaxError 2012-10-11 21:44:56 -07:00
Robert Krimen
02929cbeb1 Shortcut the production of Object.Value() 2012-10-11 18:22:00 -07:00
Robert Krimen
c57edbfe2b Alter Object.Call to be more in line with .Get, .Set 2012-10-11 17:57:51 -07:00
Robert Krimen
8fbfeead4b Correct import statement 2012-10-10 22:57:53 -07:00
Robert Krimen
ca3f3ba323 Add note about underscore to the synopsis 2012-10-10 18:23:54 -07:00
Robert Krimen
2f89d77d37 Add import line 2012-10-10 17:38:56 -07:00
Robert Krimen
2161cc2cf5 Add Caveat Emptor section 2012-10-10 16:47:01 -07:00
Robert Krimen
49dc256af8 Add README.markdown for registry 2012-10-10 16:17:36 -07:00
Robert Krimen
84b4aee178 Add README for underscore 2012-10-10 16:11:46 -07:00
Robert Krimen
0b4d73118d Add note about the registry package 2012-10-10 16:10:07 -07:00
Robert Krimen
1fd249d119 Add documentation to underscore 2012-10-10 16:07:50 -07:00
Robert Krimen
c2851c6b6e Add underscore to the commandline 2012-10-10 15:58:28 -07:00
Robert Krimen
5958af6914 Add registry package
Automatic inclusion of source on import
2012-10-10 15:46:10 -07:00
Robert Krimen
0b82701409 Add documentation to underscore.go 2012-10-10 15:06:15 -07:00
Robert Krimen
f8a0d426f2 Move underscore into otto/underscore 2012-10-10 14:58:35 -07:00
Robert Krimen
2d707b5a97 Don't get carried away with Markdown in godoc 2012-10-10 14:52:52 -07:00
Robert Krimen
b7a70e7470 Add note about commandline otto 2012-10-09 18:58:11 -07:00
Robert Krimen
89e6086ff6 Add embedding example & isolate synopsis testing 2012-10-09 18:47:39 -07:00
Robert Krimen
a31375b07b Adjusted commentary on evaluateIdentifier 2012-10-09 17:49:33 -07:00
Robert Krimen
0134729b74 Fixed synopsis test 2012-10-09 17:27:43 -07:00
Robert Krimen
c6e45a7118 Change getIdentifierReference to accept a node argument
To track/report where errors are coming from
2012-10-09 17:26:08 -07:00
Robert Krimen
ade6a169be Partially fix ReferenceError origin reporting 2012-10-09 17:19:29 -07:00
Robert Krimen
326264ae3e Line tracking for error reporting 2012-10-09 16:41:45 -07:00
Robert Krimen
f81f540a01 godocdown 2012-10-08 21:46:25 -07:00
Robert Krimen
ff5fc43690 Add Date.toUTCString 2012-10-07 23:05:15 -07:00
Robert Krimen
dc0406aeb7 setSeconds/Minutes/Hours/Date, etc. 2012-10-07 23:02:25 -07:00
Robert Krimen
fa0f2abc44 Use new date adjustment technique 2012-10-07 22:54:39 -07:00
Robert Krimen
e35b7985f6 Implement Date.setMonth/setUTCMonth 2012-10-07 19:16:58 -07:00