Lecture 1
这个专栏用于记录自己上课的笔记和总结
Introduction
UCLA CS161 介绍AI的相关概念和算法以及LISP语言
LISP
Online IDE: https://jscl-project.github.io/
- functional language
- Lisp expression:
- numeric
- symbolic 象征的
- boolean
- branchiy
- function expression
- Atom
- Prefix notation:
> (operator arg1... argn)
The operator:
- special operator ±
- Function(user define built in)
E.g:
> (+ 137 349)
> 486
;------
> (- 1000 334)
> 666
- atom 原子指不可分割的最小元素
Special operator
- quote (‘)
> (quote (+ 3 1))
> (+ 3 1)
> '(+ 3 1)
> (+ 3 1)
- Setq
> (setq x 3)
>