Write a Blog >>
Sun 22 - Fri 27 October 2017 Vancouver, Canada
Sun 22 Oct 2017 11:15 - 11:37 at Regency A - Session 2 Chair(s): Nada Amin

Writing software that employs artificial intelligence (AI) is complex because the algorithms that must be implemented in general purpose programming languages are complex. One solution to this problem is to embed AI algorithms in domain specific languages (DSLs). DSLs are the ``ultimate abstraction'' for creating programs for a particular domain, but the question of how or even why to do this is not easily answered. We have developed a language with integrated reinforcement learning designed for writing intelligent agents. AFABL (A Friendly Adaptive Behavior Language), is implemented as an internal DSL shallowly embedded in the Scala programming language. We discuss the development of AFABL, the basic elements of AFABL, the way AFABL captures domain knowledge, the benefits of integrating reinforcement learning into a programming language and report the results of a programmer study which confirms and quantifies the usefulness of integrating reinforcement learning into a programming language.