File: TODO

package info (click to toggle)
libdata-javascript-perl 1.13-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 112 kB
  • sloc: perl: 133; makefile: 5
file content (49 lines) | stat: -rw-r--r-- 1,144 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
ECMAScript and charset support for hjsdump

Encoding, escape [^[:print:]]
	Doesn't seem to include Unicode in 5.8.4...

Numbers
	Infinity

	NaN

	const (check attribute?)

Lightweight (object initializer) output for 1.2+
	JavaScript 1.2 and later support a compact object notation known
	as object literals. We probably want to walk depth first if using
	this notation.

	HASH = {key:val}
	ARRAY= [0, 1, 2]

	See nuclear wessels, wait for Anon/Lite merger because it requires
	inline dumping

More robust var naming (get & use perl names?)

Unify:
	How to scan & determine which format is best?
	constructor, flat, literal, class/prototype

	Data::JavaScript
	Data::JavaScript::LiteObject
		allow objects to be stuffed into an array and use the key names
		as var names? to what end, would have to know var names

	Data::JavaScript::Anon		(Perl : anonymous :: JS : literal)
		jsdump takes undef as name

		worries too much about valid numbers but not strings,
		validation belongs elsewhere

	Template::Plugin::JavaScript
		__quotemeta

	JSON
		why oh why
		    is it a top-level name?
		    didn't he look around first?

	XML feed, Atom feed?