Loading...

Fantastic DSL in Python - PythonでつくるDSLのテクニック -

931 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Streamed live on Sep 16, 2012

http://2012.pycon.jp/program/sessions...

いろんな書き方をあえて許容しないPythonの文法は、コードの可読性を大きく高めますが、一方で文法の強制力が強いために柔軟性にはやや欠けます。 特にDSL (Domain Specific Language) を設計するうえでは、自由な書き方が制限されるというPythonの性質上、様々な困難が生じます。

本発表では、筆者が過去に作成したプロダクト (Oktest, Tenjin, Benchmarker, Kook, etc) の経験をもとに、PythonでDSLを設計するうえでの問題点と解決策を、豊富な具体例を使って紹介します。

Python's code is very readable because Python doesn't allow users to write code in various ways. But as the other side, there is less "syntax freedom" due to Python's nature. This will be large restriction when you design DSL (Domain Specific Language) in Python.

In this session, I'll show you problems and solutions about DSL design in Python which were happened through development of my products (Oktest, Tenjin, Benchmarker, Kook, etc).

対象: 中級者
言語: 日本語
日時: Sep 16 17:45-18:10
場所: Room 357
トピック: Programming Tips / DSL

桑田 誠 / Makoto Kuwata
http://www.kuwata-lab.com/

Programmer.

2011 Pycon mini JP: How to Create a High-Speed Template Engine in Python https://sites.google.com/site/pyconmi...

2011 Pycon mini JP Lightning Talk: Benchmarker - a good friend for performance https://sites.google.com/site/pyconmi...

2011 Pycon JP Lightning Talk: Oktest - a new style testing library for Python http://2011.pycon.jp/program/lightnin...

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...