Literals
A Mork literal is a binary octet sequence encoded as plain text. Every byte becomes literally the next byte of the value, unless certain bytes are seen which have metacharacter status. (Why is there more than one metachar? Because it might shrink markup. Complexity here is worth some compression.)
- ) - close paren - end of literal
- $ - dollar - escape the next two hex bytes which encode a single octet
- \ - backslash - if the next byte is either #xA or #xD, omit linebreak from literal; otherwise escape next byte. For example, \ removes metachar status from an immediately following \, $, or ).
The first metachar is close paren. A literal always appears at the tail end of a cell which is always terminated by a close paren ), so in practice every literal is terminated by ). The only way to get ) inside a literal is by escaping the ) byte one way or other.
The second metachar is dollar $, which allows you to encode any octet as two digits of hex. Some writers might encode all non-ascii octets this way, and the year 2000 version of Mozilla did this, but it's not required. You are never required to use $ to escape bytes when writing, but readers must escape hex following $ when $ itself is not escaped, say using \. (Why did I choose $ for this metachar? Because I thought URLs might be common Mork content, and I wanted to use a byte that might appear less often in URLs.)
The third metachar is backslash \, which was added to allow escaping metachars using C like syntax, and to allow line continuation in a C like manner so very long lines need not be generated unless a writer insists.
(If I was going to extend Mork for base 64, I'd probably extend the meaning of the $ metachar to understand a following non-hex byte was the start of a base 64 sequence. For example, ${ABC} might mean ABC was base 64 content. I've seen folks online bitch about Mozilla's verbose encoding of unicode under Mork using $ to encode every null byte. Why didn't you speak up during the year I discussed it online? In five years, why did no one tweak Mork so version 1.5 would do better? Why not just write unicode as raw binary, since Mork supports that? Why does Mork suck because no one spends an hour making changes? Whatever.)
| 태그 : | Firefox2 |
내일 낮까지 눈 예보가 있는 걸 보면. 내일 아침도 비슷할 것 같다.
평소보다 약간 일찍 집에서 나와서 걷다보니
구두 신고 조심조심 걸어가시는 아버님이 눈에 띄셨다.
아무래도 이분은 나보다 빙판길 경력이 20년 정도는 앞서시는 분이실게다.
미끌 미끌 뒤뚱 뒤뚱
그러나 날쎈...!
아라한 장풍 대작전에서나 보던. 무림의 은둔고수?!
이 아저씨 뒤를 졸졸 따라서 가다보니 생각보다 일찍 지하철역까지 갈 수 있었다.
열심히 연마해서
나보다 20년쯤 뒤진 꼬맹이들에게 전수해야할 기술일까? ^^
| 태그 : | 3D영화 두통 |
다시 한번 해봐야 겠길래. 매일 비슷한 책 읽으며 진도 안나가는 것도 좀 찜찜하고 해서...
오늘 등록했다.
중소기업경영론 수업이 마음에 들어서 경영으로 결정했다.
이번엔 학점도 좀 받아서 학비 안내고 다녔으면 좋겠는데. 글쎄...?
내년엔 할일이 생겨서 좋다.
늦었다고 생각할 때가 가장 빠른 것 같다.
올해 찜찜한 것들은. 올해로 땡 쳐버렸으면.
화이팅~!
매일 아침이 별로 상쾌하지 않다
즐거운 일?
어떤 게 그런 일인지 모르겠다.
괜찮다고 생각하고 있다.
아마
괜찮을 것이다.
그래.
꼭.
즐거울 필요는 없을지도 모른다.
좀 있음 새해인데. 올해 구질한 것들은 다 털어버렸으면;;
프로젝트 속성 > 링커 > 매니페스트 파일
UAC(사용자 계정 컨트롤) 사용: 예
UAC 실행 수준 : requireAdministrator (default=asInvoker)
* vc 2005에서 강제로 포함한 경우에는 에러 나니까... 적용한 파일을 지우고 설정하면 됨.


