Strict Standards: Non-static method Soojung::addReferer() should not be called statically in /home/lifthrasiir/sites/sapzil.info/soojung/settings.php on line 79

Warning: Cannot modify header information - headers already sent by (output started at /home/lifthrasiir/sites/sapzil.info/soojung/settings.php:79) in /home/lifthrasiir/sites/sapzil.info/soojung/classes/Counter.class.php on line 63

Strict Standards: Non-static method Entry::getEntry() should not be called statically in /home/lifthrasiir/sites/sapzil.info/soojung/entry.php on line 51

Strict Standards: Non-static method Soojung::entryIdToFilename() should not be called statically in /home/lifthrasiir/sites/sapzil.info/soojung/classes/Entry.class.php on line 182

Strict Standards: Non-static method Soojung::queryFilenameMatch() should not be called statically in /home/lifthrasiir/sites/sapzil.info/soojung/classes/Soojung.class.php on line 55
TokigunStudio3 | 블로그: 제작 성공!

내용으로 바로 넘어 가기


TokigunStudio3

228 / 3282   


더 이상 이 블로그는 운영되지 않습니다. 새 블로그로 가 주세요.

제작 성공!

2005/01/17 PM 05:07 | 컴퓨터/프로그래밍 언어 | 4 comments | 0 trackbacks | AllBlog: vote, to pocket

NULL 언어로 "Hello, world!"를 출력하는 데 성공했다. 다음은 176자리-_- 소스 코드이다.

15360939363786950397128283933599538624892174320483034857003355015791389885897612
62987035040315674567693681581873083690807564610869441191390875334154224905728307
4613678144889367


만세! ~_~ 자세한 소스 코드는 여기에 있다. 기타 인터프리터 등등은 다음을 참고하라:
- 소수 데이터베이스: primes.py (인터프리터는 이거 없어도 돌긴 돈다)
- 인터프리터: nullrun.py
- 프로그램 생성기: generate.py

보시면 알겠지만 프로그램 생성기는 상당히 naive한 알고리즘을 사용한다. (최적화가 전혀 안 되어 있으며, 심지어 백트래킹의 기본인 promising function도 사용하지 않는다. 다 귀찮아서 그랬다) 하지만 뭐 그게 대수인가! :) 아, 그리고 NULLRUN이라는 이름은 뭐 다들 잘 아시겠지만 "널뛰기"에서 온 말이다. (...)

조금 더 테스트해서 더 작은 프로그램 코드를 만들어 본 후 NULL 제작자한테 보내야 겠다. 나오는 대로 이 글을 고쳐서 더 작은 코드를 공개하겠다.

TrackBack URL: http://sapzil.info/soojung/trackback.php?blogid=313

Comment: 디토 (2005/01/17 PM 05:18)

멋집니다! :)

Comment: 토끼군 (2005/01/17 PM 07:00)

디토: :)

Comment: 인클루드 (2005/01/20 PM 07:55)

흐흐... 이번엔 NULL 언어를 정복하시려고 하시는군요... 멋집니다... +_+

Comment: 토끼군 (2005/01/20 PM 10:14)

인클루드: 근데 loop 구현은 아직도 아리송하네요.

Copyright (c) 1995-2005, Kang Seonghoon (Tokigun).