Dream Language!

853 views

Published on

A presentation when you should design your dream language. This presentation contains everything you need to know about language design in a day to day job. This presentation was given by me ar Bangalore BarCamp.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
853
On SlideShare
0
From Embeds
0
Number of Embeds
48
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Dream Language!

  1. 1. dream language! suman karumuri
  2. 2. about me (define work-ex ‘(yahoo goldman_sachs) ) $myOwnLanguage = “NPL”; dsl_experience = (“data sanity”, “data gen”) let interest [“pl” ; ”software viz.”];; main = future ( cs.brown.edu )
  3. 3. designing languages is cool! implementing one is uber cool!
  4. 4. but.. do you know?
  5. 5. 99.99% languages are unused 99.96% of langs are mashups
  6. 6. if lang X doesn’t have feature Y you can add it to lisp ☺
  7. 7. before you design… have you considered?
  8. 8. purpose why yet another language?
  9. 9. purpose general purpose dsl fun!
  10. 10. novelty what’s new?
  11. 11. novelty syntax semantics performance ease of use dsl
  12. 12. spreadsheet? best programming lang!
  13. 13. spreadsheet simple syntax easy semantics programmable dsl
  14. 14. none of these work?
  15. 15. general purpose language? time waste
  16. 16. dsl internal external which aspect?
  17. 17. new syntax meta-language new fe extensions
  18. 18. new semantics/easy lisp syntax : s-expression new paradigms
  19. 19. performance !brilliant => another time waste !academic => p(success) = 10-10
  20. 20. tools antlr python <scripting language of your chioce>
  21. 21. antlr multi language bindings LL(k) grammar simple and similar lexer and parser IDE support
  22. 22. antlr excellent community good documentation audio lectures
  23. 23. python enuf said
  24. 24. resources dragon book wikipedia irc ltu
  25. 25. questions? thank you!

×