This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class _Main { | |
static function main(args : string[]) :void { | |
log "Hello, world!"; | |
var p1 = new Point(10,20); | |
var p2 = new Point(30,10); | |
log p1.distance(p2); | |
} | |
} | |
class Point { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Base(x) { | |
// override properties in prototype if necessary | |
if (arguments.length == 1) { | |
this._x = x; | |
} | |
} | |
Base.prototype = { | |
_x: [], | |
push: function(v) { this._x.push(v) } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* A history of search software in japan | |
今回紹介するGroongaは日本の検索ライブラリの中で新しいものです。 | |
Groongaを紹介する前に、日本の検索事情について少しお話します。 | |
Today I'm going to talk about a new search library from Japan. | |
First, I'll tell you something about how search works in Japan. | |
** use grep | |
文章を簡単に検索する方法としてgrepがあります。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* history of search software in japan | |
今回紹介するGroongaは日本の検索ライブラリの中で新しいものです。 | |
Groongaを紹介する前に、日本の検索事情について少しお話します。 | |
** use grep | |
文章を簡単に検索する方法としてgrepがあります。 | |
日本では「fool search(馬鹿検索)」というスラングがあります。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
筑波の雨はだいぶおさまった模様 |