abdullah's picture
Add files using upload-large-folder tool
a3f1c39 verified
raw
history blame
70.6 kB
1
00:00:20,670 --> 00:00:23,510
ุจุณู… ุงู„ู„ู‡ ุงู„ุฑุญู…ู† ุงู„ุฑุญูŠู… ุงู„ุตู„ุงุฉ ูˆุงู„ุณู„ุงู… ุนู„ูŠูƒู… ูˆุฑุญู…ุฉ
2
00:00:23,510 --> 00:00:24,090
ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡
3
00:00:24,090 --> 00:00:25,350
ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ
4
00:00:25,350 --> 00:00:26,690
ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡
5
00:00:26,690 --> 00:00:27,670
ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ
6
00:00:27,670 --> 00:00:30,210
ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡
7
00:00:30,210 --> 00:00:34,030
ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ
8
00:00:34,030 --> 00:00:36,470
ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡
9
00:00:36,470 --> 00:00:38,310
ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ
10
00:00:38,310 --> 00:00:45,810
ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ
11
00:00:45,810 --> 00:00:52,070
ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุญู…ุฉ ุงู„ู„ู‡ ูˆุฑุจุชู… ุนู…ู„ูŠุฉ ุงู„ู€
12
00:00:52,070 --> 00:00:55,610
Generating Intermediate Code ุจุงู„ุชุญุฏูŠุฏ ุงู„ู€
13
00:00:55,610 --> 00:00:58,770
Intermediate Code ุงู„ู„ูŠ ุดูู†ุงู‡ ู‡ูˆ ุงู„ู€ Three Address
14
00:00:58,770 --> 00:01:02,370
Code Instructions ุทุจุนุงู‹ ุฃูˆู„ ุดูŠุก ุดูˆูู†ุง ูƒูŠู ุงู„ู€
15
00:01:02,370 --> 00:01:05,230
Three Address Code Instructions ู‡ุฐูŠ Can be
16
00:01:05,230 --> 00:01:08,930
generated ู…ู…ูƒู† ุชุดูƒูŠู„ู‡ุง ู„ูŠู‡ุŸ ุงู„ู€ Types and
17
00:01:08,930 --> 00:01:13,930
Declarations Declaring ุงู„ variables ุดูู†ุงู‡ุง ู„ู„ู€ VM
18
00:01:13,930 --> 00:01:19,210
ุงู„ variables ุจุณูŠุทุฉ ูˆุดูู†ุงู‡ุง ู„ู„ุฑุฆูŠุณ ูƒุฐู„ูƒ ุงู„ุญุงู„ูˆุดูˆูู†ุง
19
00:01:19,210 --> 00:01:22,390
ูƒูŠู ุงู„ expressions mathematical expressions are
20
00:01:22,390 --> 00:01:26,410
translated ูŠุนู†ูŠ ุงูŠุด translated ูŠุนู†ูŠ three address
21
00:01:26,410 --> 00:01:29,210
code generation three address code instructions
22
00:01:29,210 --> 00:01:34,170
are generated ูˆุจุนุฏ ูƒุฏู‡ ูˆุงู„ุงู† ุงู† ุดุงุก ุงู„ู„ู‡ ุจู†ุดูˆู ูƒูŠู
23
00:01:34,170 --> 00:01:37,430
ุงู„ู„ูŠ ู‡ูˆ ู…ุณุฃู„ุฉ type checking ูˆุฅูŠุด ุจูŠู„ุทูˆูŠ ุนู„ูŠู‡ุง ู…ู†
24
00:01:37,430 --> 00:01:42,730
ู…ู† ุชูˆู„ูŠุฏ ุฃูˆ ุชุดูƒูŠู„ ุฃูˆ generating three address
25
00:01:42,730 --> 00:01:46,030
instructionsูˆู‡ูŠ ู„ูŠู‡ุง ุฃูŠุถุง ุงู„ control flow
26
00:01:46,030 --> 00:01:48,950
statements control flow statements ูŠุนู†ูŠ ุจุจุณุงุทุฉ ุงู„
27
00:01:48,950 --> 00:01:53,250
if statement ู…ุซู„ุง ูˆ ุงู„ looping statements while ูˆ
28
00:01:53,250 --> 00:01:56,550
repeat ูˆู…ุง ุฅู„ู‰ ุฐู„ูƒ ูุฎู„ูŠู†ุง ู†ุฑูˆุญ ุนู„ู‰ ุจุฏุงูŠุฉ ุงู„
29
00:01:56,550 --> 00:02:05,130
section 5 ุนุดุงู† ู†ุดูˆู ุงูŠุด ุงู„ู„ูŠ ุงูŠุด
30
00:02:05,130 --> 00:02:09,230
ุงู„ู„ูŠ ุฃู…ุงู…ู†ุง ุทุจุนุง
31
00:02:09,230 --> 00:02:11,290
6 ุฃุฑุจุนุฉ ูƒุงู† ุงู„ู„ูŠ ู‡ูˆ ุงูŠุด ู‚ู„ู†ุงู‡
32
00:02:14,310 --> 00:02:18,450
translation expressions ุญูƒูŠู†ุง ููŠู‡ ูƒู„ู‡ ุทู„ุนู†ุง ุนู„ู‰
33
00:02:18,450 --> 00:02:24,490
ูƒูŠู ุงู„ syntax directed definition ูˆุดูˆูู†ุง ุงู„
34
00:02:24,490 --> 00:02:29,090
example ุจุณูŠุท ู‡ุฐุง ูˆุดูˆูู†ุง example ุฃูƒุจุฑ ู…ู†ู‡ ูˆุดูˆูู†ุง
35
00:02:29,090 --> 00:02:34,410
ุงู„ู„ูŠ ู‡ูˆ ุงู„ addressing array elements ูƒูŠู ุงู„ array
36
00:02:34,410 --> 00:02:39,170
elements ู„ู…ุง ุชุจู‚ู‰ ุงู„ array multidimensional ูƒูŠู
37
00:02:39,170 --> 00:02:48,260
ู†ุญุณุจ ุงู„ address ุชุจุน ุงู„ุนู†ุงุตุฑ ุงู„ arrayูˆ ุขุฎุฑ ุฅุดูŠ ูƒุงู†
38
00:02:48,260 --> 00:02:52,960
ุงู„ู„ูŠ ู‡ูˆ ุงู„ example ู‡ุฐุง ุจุงู„ุธุจุท ู‡ุฐุง ุงู„ example ุงู„ู„ูŠ
39
00:02:52,960 --> 00:02:56,960
ู‡ูˆ ุจุชุชุดูƒู„
40
00:02:56,960 --> 00:03:00,120
ู…ู† ุฎู„ุงู„ู‡ ู…ุฌู…ูˆุนุฉ three address instructions ุงู„ู„ูŠ ู‡ูŠ
41
00:03:00,120 --> 00:03:04,020
ุนุจุงุฑุฉ ุนู† ุงู„ู„ูŠ ู‡ูŠ ุจุชุญุณุจ ูŠุนู†ูŠ ุงู„ address ุชุจุน ุงู„
42
00:03:04,020 --> 00:03:08,150
elementุงู„ุงู† ุณุชุฉ ูƒุงู… ุณุฃู„ู‡ ุงู„ type checking ููŠ ุงู„
43
00:03:08,150 --> 00:03:10,990
type checking ุงู„ compiler ุฃู…ุงู…ู‡ ูˆุธูŠูุชูŠู† ุฃุณุงุณูŠุฉ
44
00:03:10,990 --> 00:03:16,170
ุงู„ู„ูŠ ู‡ูˆ ุฃู†ู‡ ูŠูุญุต ุงู„ type ุชุจุน ุงู„ู„ูŠ ู‡ูˆ ุงู„ different
45
00:03:16,170 --> 00:03:19,070
components ุงู„ู„ูŠ ููŠ ุงู„ source code different
46
00:03:19,070 --> 00:03:22,390
components ู‡ุฐู‡ ุณูˆุงุก ูƒุงู† variable ุตุบูŠุฑ ูˆู„ุง ูƒุงู†
47
00:03:22,390 --> 00:03:25,430
expression ูˆู„ุง ูƒุงู† function call ูˆู„ุง ุฃูŠ ุฌุฒูŠุฉ ู…ู†
48
00:03:25,430 --> 00:03:28,710
ุฌุฒูŠุฉ ุงู„ุจุฑู†ุงู…ุฌ ููŠ ุงู„ุขุฎุฑ ุงุญู†ุง ุจู†ุนุฑู ุงู„ type ุชุจุนู‡ุง
49
00:03:28,710 --> 00:03:35,000
ู„ุฃู†ู‡ุง ู‚ุฏ ุชุฏุฎู„ ููŠ some largerูƒู…ุจูˆู†ุช ูŠุนู†ูŠ ู‡ูŠ ูƒูƒู…ุจูˆู†ุช
50
00:03:35,000 --> 00:03:40,000
ุงู†ุชุฌุฑ ูˆ ุงู„ expression ูˆ ุงู„ function ู…ู…ูƒู† ูŠุฏุฎู„ ููŠ
51
00:03:40,000 --> 00:03:44,980
ุจู†ุงุก ูƒู…ุจูˆู†ุช ุงูƒุจุฑ ู…ู†ู‡ุง ูู„ุงุฒู… ูŠุจู‚ู‰ ูŠุนุฑู ุงู„ type ุงู„
52
00:03:44,980 --> 00:03:49,280
compiler ูŠุจู‚ู‰ ูŠุนุฑู ุงู„ type ุชุจุนู‡ุง ู…ู† ุฃุฌู„ ุงู†ู‡ ูŠุชุฃูƒุฏ
53
00:03:49,280 --> 00:03:55,820
ุงู†ู‡ ู‡ูŠ ุฌุงูŠุฉ ุจุงู„ type ุงู„ู…ู†ุงุณุจ ููŠ ุงู„ู…ูƒุงู† ุงู„ู…ู†ุงุณุจ ู
54
00:03:55,820 --> 00:03:58,820
to do type checking ุงู„ compiler needs to assign a
55
00:03:58,820 --> 00:04:03,460
type expression ู„ูˆ ุนู†ุฏูŠ ุงู†ุงexpression ุนู„ู‰ ุณุจูŠู„
56
00:04:03,460 --> 00:04:07,540
ุงู„ู…ุซุงู„ ููŠู‡ ุงู„ู€ type attribute ุงู„ู€ type attribute
57
00:04:07,540 --> 00:04:11,100
ู‡ุฐู‡ ุงู„ู€ value ุชุจุนู‡ุง ุงูŠุด ู‡ูˆ ุงู„ value ุชุจุนู‡ุง ุนุจุงุฑุฉ ุนู†
58
00:04:11,100 --> 00:04:15,680
type expression type expression ูู‡ุฐุง ุฏูˆุฑ ุงู„
59
00:04:15,680 --> 00:04:19,160
compiler ุงู†ู‡ ูŠุนุทูŠ ู„ูƒู„ component ุณูˆุงุก ูƒุงู†ุช
60
00:04:19,160 --> 00:04:22,200
expression ุณูˆุงุก ูƒุงู†ุช variable ุณูˆุงุก ูƒุงู†ุช ุงูŠุด ู…ุง
61
00:04:22,200 --> 00:04:26,360
ูƒุงู†ุช ุฌุฒุฆูŠุฉ ู…ู† ุฌุฒุฆูŠุฉ ุงู„ุจุฑู†ุงู…ุฌ ูŠุนุทูŠู‡ุง ุงู„ type
62
00:04:26,360 --> 00:04:32,540
attribute ุชุจุนุชู‡ุง ุชู…ุงู… ุงู„ compiler must thenุจุนุฏ ู…ุง
63
00:04:32,540 --> 00:04:36,460
ูŠุนุฑู ุฃูˆ ูŠุญุฏุฏ ุงู„ู€ type ุชุจุน ุงู„ expression ุชุจุน ุงู„
64
00:04:36,460 --> 00:04:39,700
component ู„ุงุฒู… ุช determine that these type
65
00:04:39,700 --> 00:04:45,040
expressions conform ู…ุทุงุจู‚ ุนู„ู‰ ุงู„ logical rules
66
00:04:45,040 --> 00:04:49,840
ุงู„ู„ูŠ ุนู„ู‰ ุฃุณุงุณู‡ุง ุจูŠู‡ ู†ุชุฃูƒุฏ ู…ุงุฐุง ูƒุงู† ุงู„ component
67
00:04:49,840 --> 00:04:59,640
ู‡ุฐู‡ ุฌุงูŠ ููŠ ู…ูƒุงู†ู‡ุง ุงู„ุตุญูŠุญ ูˆู„ุง ู„ุฃ ูุงุญู†ุง ุนู†ุฏู†ุง ุงู„ุตูุฉ
68
00:04:59,640 --> 00:05:08,550
ุนุงู…ุฉ ู„ูˆ ุนู†ุฏู‰ ุงู†ุงู„ูˆ ุนู†ุฏูŠ ู…ุฌุฑุฏ identifier ุงูˆ ู„ูˆ ุนู†ุฏูŠ
69
00:05:08,550 --> 00:05:17,370
expression ุงูˆ ู„ูˆ ุนู†ุฏูŠ function call ูƒู„
70
00:05:17,370 --> 00:05:22,070
ู‡ุฐู‡ ุงู„ components ู„ุงุฒู… ูŠุจู‚ู‰ ู…ุนุฑูˆู ููŠ ุงู„ type ุทุจุนุง
71
00:05:22,070 --> 00:05:25,290
ุงุญู†ุง ู†ุดูˆู ูƒูŠู ุงู„ type ุงู„ identifiers ูˆ ุงู„
72
00:05:25,290 --> 00:05:28,550
expressions ูƒูŠู ุจูŠู†ุญุณุจ ู„ูˆ ุงู„ function calls ุงู„
73
00:05:28,550 --> 00:05:33,050
function calls ุงุญู†ุง ููŠู‡ุง ุงู†ูˆุงุนูŠู†ู‡ู†ุง ููŠ ุจุนุถ ุงู„ู„ุบุงุช
74
00:05:33,050 --> 00:05:37,570
ุชุนู…ู„ declaration ุฃูˆ ุชุดุชุฑุท ูˆุฌูˆุฏ declaration ูŠุนู†ูŠ
75
00:05:37,570 --> 00:05:41,090
ุฃู†ุง ู„ุง ุฃุณุชุทูŠุน ุงุณุชุฎุฏุงู… ุฃูŠ variable ุฃูˆ ุฃูŠ function
76
00:05:41,090 --> 00:05:46,670
ุฅู„ุง ุฅุฐุง ุนู…ู„ุช declaration ู„ู‡ุง ูููŠ ู‡ุฐู‡ ุงู„ุญุงู„ุงุช ุฅุฐุง
77
00:05:46,670 --> 00:05:52,830
ูƒุงู† ู„ุฏูŠ declaration ูˆุนู†ุฏูŠ function ุงู„ type ู‡ูˆ ุงู„
78
00:05:52,830 --> 00:05:56,350
type ุงู„ู„ูŠ declared ูŠุนู†ูŠ ุงู†ุง ุจูŠุนุฑู function ููŠ ุงู„ C
79
00:06:00,540 --> 00:06:05,720
ุฅู†ุชุฌุฑ X ุฎู„ุงุต ู‡ู†ุง ู†ุนุฑู ุงู„ return type ุชุจุน ุงู„
80
00:06:05,720 --> 00:06:09,620
function ู‡ูˆ ุงู„ type ุชุจุนู‡ุง ุงู„ return type ู‡ูŠ ุจุชู„ุฌุฃ
81
00:06:09,620 --> 00:06:13,280
integer ูุงู„ integer ู‡ุฐุง ู‡ูˆ ุงู„ type ุชุจุนู‡ุง ู„ุฃู† ุจุนุฏ
82
00:06:13,280 --> 00:06:17,600
ูƒุฏู‡ ู„ู…ุง ุฃู†ุง ุฃุณุชุฏุนูŠู‡ุง ุฃู‚ูˆู„ ู…ุซู„ุง Y ุจูŠุณุงูˆูŠ Y ุฒุงุฆุฏ F
83
00:06:17,600 --> 00:06:24,000
of X ู‡ุฐุง ุงู„ operator ุนู„ู‰ ุงู„ุทุฑู ุงู„ูŠู…ูŠู† ูˆ ุนู„ู‰ ุงู„ุทุฑู
84
00:06:24,000 --> 00:06:30,730
ุงู„ุดู…ุงู„ ุจุฏู‡ two operands ู…ู† ู†ูุณ ุงู„ู†ูˆุนูุฅูŠุด ู†ูˆุน ู‡ุฐุง
85
00:06:30,730 --> 00:06:36,890
ุงู„ู€ ShipุŸ ู‡ุฐุง ุงู„ู€ Y-Identifier ูˆู‡ุฐู‡ FุŒ ุฅูŠุด ู†ูˆุนู‡ุงุŸ
86
00:06:36,890 --> 00:06:40,130
ู†ูˆุนู‡ุง ุงู„ู„ูŠ ู‡ูˆ ุงู„ู€ Return Type ุชุจุนู‡ุงุŒ ู…ุธุจูˆุทุŸ
87
00:06:40,130 --> 00:06:43,850
ูุงู„ู…ุณุฃู„ุฉ ูˆุงุถุญุฉุŒ ุนู„ู‰ ู‡ุฐุง ุงู„ุฃุณุงุณุŒ ู‡ู… ุจูŠู‚ูˆู„ูˆุง ุฅุฐุง ูƒุงู†
88
00:06:43,850 --> 00:06:48,870
.. ุฅุฐุง ูƒุงู† F is a function ู .. ุงูˆ .. ุงูˆ .. ูุงู„ู€ F
89
00:06:48,870 --> 00:06:54,110
of X ุงู„ู€ Type ุชุจุน T ู‡ูˆ ุงู„ู€ Return Type ุชุจุน F ุฅุฐุง F
90
00:06:54,110 --> 00:07:02,500
ู…ุนุฑูุฉ ุฅู†ู‡ุง ุจุชุงุฎุฏ ู…ุชุบูŠุฑ Xู…ู† ู†ูˆุน S ูˆุจุชุนุทูŠ output ู…ู†
91
00:07:02,500 --> 00:07:07,900
ู†ูˆุน T ุฅุฐ ุฌุงุก ู‡ุฐุง ุงู„ expression ุงุณุชุฏุนุงุก ุงู„ function
92
00:07:07,900 --> 00:07:12,600
ุนู„ู‰ ู‡ุฐุง ุงู„ู…ุชุบูŠุฑ ุงู„ type ุชุจุน ู‡ุฐุง ุงู„ูƒู„ุงู… ู‡ูˆ T ุฎู„ุงุต
93
00:07:12,600 --> 00:07:20,460
ู‚ุถูŠุฉ ุจุฏู‡ูŠุฉ ูู…ุงููŠุด ููŠู‡ุง ุงูŠ ุชุนู‚ูŠุฏ ู„ู…ุง ู†ูƒูˆู† ููŠ ุนู†ุฏู‰
94
00:07:20,460 --> 00:07:24,740
ู„ู…ุง ู†ูƒูˆู† ููŠ ุนู†ุฏู‰ ุงู†ุง functionุฃูˆ ู„ุบุฉ ู…ุง ุจุชุณู…ุญ ุจ ..
95
00:07:24,740 --> 00:07:29,500
ุจุชุณู…ุญ ุจุนุฏู… ุงู„ุชุนุฑูŠู ูŠุนู†ูŠ ุฃู† ุฃุณุชุฎุฏู… verbs ุจุฏูˆู†
96
00:07:29,500 --> 00:07:33,280
declaration ูููŠ ู‡ุฐุง ุงู„ุญุงู„ุฉ ุงู„ return type ุชุจุน ุงู„
97
00:07:33,280 --> 00:07:35,700
function ุงู„ return type ุชุจุน ุงู„ function ุฃุฎุฑ
98
00:07:35,700 --> 00:07:40,940
statement ููŠ ุงู„ function ูŠุนู†ูŠ F ูˆ ุฃุฎุฏุช ู…ุชุบูŠุฑ ูˆุจุนุฏ
99
00:07:40,940 --> 00:07:47,360
ูƒุฏู‡ return some variable S ุงู„ variable S ูŠุนู†ูŠ ุงู„
100
00:07:47,360 --> 00:07:50,800
return type ุชุจุนู‡ ู‡ูˆ ุงู„ type ุชุจุน ุงู„ function ูุงุญู†ุง
101
00:07:50,800 --> 00:07:58,100
we can implyุงู„ุชูŠ ู†ุณุชุทูŠุน ุฃู† ู†ุณุชุฎุฏู…ู‡ุง ูƒู€ return type
102
00:07:58,100 --> 00:08:00,920
ุชุจุน ุงู„ู€ function ุญุชู‰ ูˆุฅู† ูƒุงู†ุช ู…ุด ูุงู‡ู…ูˆู„ู‡ุง
103
00:08:00,920 --> 00:08:05,320
declaration ู…ู† ุฎู„ุงู„ ุงู„ู€ return type ุชุจุน ุฃุฎุฑ
104
00:08:05,320 --> 00:08:11,880
statement ููŠู‡ุง ู‡ุฐุง ุจุงู„ู†ุณุจุฉ ู„ู„ู€ type ููŠ ุญุงู„ุฉ ุงู„
105
00:08:11,880 --> 00:08:14,920
functions ูŠุจู‚ู‰ ุตุงุฑ ูˆุงุถุญ ู„ู†ุง ูƒูŠู ุงู„ุชุนุงู…ู„ ู…ุน ุงู„
106
00:08:14,920 --> 00:08:17,300
identify ูˆุงู„ expressions ูˆุงู„ functions ู…ู† ุฃุญุฏ ุงู„
107
00:08:17,300 --> 00:08:25,860
return type ุทูŠุจ okay ุจู…ุง ุฃู†ู‡ู‚ุถูŠุฉ ุชุญุฏูŠุฏ ุงู„ type ุชุจุน
108
00:08:25,860 --> 00:08:31,340
ุงู„ component ุตุงุฑุช ู…ุนุฑูˆู ูƒูŠู ู†ุนุงู„ุฌู‡ุง ุงู„ุขู† ุญุฏุฏู†ุง ุงู„
109
00:08:31,340 --> 00:08:39,360
type ุชุจุน two components ูˆู„ูƒู† ูˆุฌู‡ู†ุง ุงู†ู‡ู… ุฌุงูŠูŠู† ููŠ
110
00:08:39,360 --> 00:08:45,480
ุนู…ู„ูŠุฉ ุถุฑุจ ู…ุซู„ุง ูˆู„ูƒู† ุงู„ type ุชุจุนู‡ู… ู…ุฎุชู„ู ููŠ ู‡ุฐุง
111
00:08:45,480 --> 00:08:50,900
ุงู„ุญุงู„ุฉ ู„ุงุฒู… ู†ุนู…ู„ type conversion ุงู„ type
112
00:08:50,900 --> 00:08:55,440
conversion ู‡ุฐุงุบุงู„ุจุง ุงู„ programmer ู…ู…ูƒู† ูŠูƒูˆู† ู…ุงูƒุฏ
113
00:08:55,440 --> 00:09:01,560
ุจุงู„ู‡ ู…ู† ุงุฎุชู„ุงู ุงู„ types ูู‡ูˆ ูŠุญุท cast instructions
114
00:09:01,560 --> 00:09:06,800
ูŠุญุท cast instructions ุนุดุงู† ูŠุนู…ู„ explicit
115
00:09:06,800 --> 00:09:11,440
conversion ุงู„ programmer ู„ูƒู† ููŠ ุญุงุฌุงุช ุฒูŠ ุฐู„ูƒ ุงู„
116
00:09:11,440 --> 00:09:16,280
programmer ู…ุด ู‡ูŠุญุท explicit conversion ู„ุฃู†ู‡ ุนุงุฑู
117
00:09:16,280 --> 00:09:20,580
ุงู† ุงู„ compiler ุงูŠุด ู‡ุณูˆูŠ ู‡ูŠุนู…ู„ implicit conversion
118
00:09:20,580 --> 00:09:27,660
ู…ุธุจูˆุท ูˆู„ุง ู„ุฃุŸู‡ู†ุง ู‡ุฐุง integer ูˆู‡ุฐุง float ุนู…ู„ูŠุฉ
119
00:09:27,660 --> 00:09:32,080
ุงู„ุถุฑุจ ู„ุงุฒู… ุชุฃุฎุฏ equivalent types ูู‡ุฐุง ู„ูŠุณ
120
00:09:32,080 --> 00:09:35,200
equivalent ูู„ุงุฒู… ูŠุตูŠุฑ conversion ุงู„ programmer ู…ุด
121
00:09:35,200 --> 00:09:38,660
ู‡ูŠุนู…ู„ ู‡ุฐุง ุงู„ูƒู„ุงู… ู„ุฃู†ู‡ ุนุงุฑู ุงู† ุงู„ compiler ู‡ูŠุณูˆูŠู‡
122
00:09:38,660 --> 00:09:42,160
ุงู„ compiler ูƒูŠู ุจูŠุณูˆูŠู‡ ู‡ุฐุง ู‡ูˆ ุงู„ุณุคุงู„ ูุงุญู†ุง ู‚ุงุฏู…
123
00:09:42,160 --> 00:09:46,200
ู†ุทู„ุน ููŠ ุงู„ section ู‡ุฐุง ุนู„ู‰ ูƒูŠู ูŠุชู… ุงู„ conversion
124
00:09:46,200 --> 00:09:52,290
ุทุจุนุง ุจุชุชู… ุจู…ุนู†ู‰ ุงู†ู‡ ุจูŠู†ุนู…ู„ generation ู„ุงู„ู€ three
125
00:09:52,290 --> 00:09:57,430
address code instruction ุชุชูˆู„ู‰ ุนู…ู„ูŠุฉ ุงู„ conversion
126
00:09:57,430 --> 00:10:03,730
ุงู„ู„ูŠ ู‡ูŠ ุจุจุณุงุทุฉ typecast ุจู‡ุฐุง ุงู„ุดูƒู„ ุจู‡ุฐุง ุงู„ุดูƒู„
127
00:10:03,730 --> 00:10:11,710
ุงู„ุงุชู†ูŠู† ู‡ูŠ ุงู„ู„ูŠ ุจุฏุฃุช ุชุชุญูˆู„ ุตุญุŸ ุตุญุŸ ู„ูŠุดุŸ
128
00:10:11,710 --> 00:10:13,050
ุงู„ float ุจุตูŠุฑุด ุงู†ุชู‚ุงู„
129
00:10:16,680 --> 00:10:21,180
ุงู†ุชุฌุงุฑ ุจูŠุถูŠุน ุงู„ fraction cost ุจุงู„ุธุจุท ุงุญู†ุง ุจุตูุฉ
130
00:10:21,180 --> 00:10:26,640
ุนุงู…ุฉ ูƒ rule ูƒ type conversion rule ูƒ type
131
00:10:26,640 --> 00:10:30,420
conversion rule ุนุงู…ุฉ ุงุญู†ุง ุจู†ุญูˆู„ ู…ู† ุงู„ุฃุถูŠู‚ ุฅู„ู‰
132
00:10:30,420 --> 00:10:35,520
ุงู„ุฃูˆุณุน ุงู„ integer ุงู†ุช ุชุงูˆู… ู‚ูˆู„ุช ุงู†ุชุฌุงุฑ ุงู„ integer
133
00:10:35,520 --> 00:10:40,860
ู‡ูˆ ุงู„ุฃุถูŠู‚ ูˆ ุงู„ float ู‡ูˆ ุงู„ุฃูˆุณุน ูุงุญู†ุง ุจู†ุญุท .. ุจู†ุนู…ู„
134
00:10:40,860 --> 00:10:44,620
conversion conversion ู‡ูˆ ุฅุถุงูุฉ ุงู„ู„ูŠ ู‡ูˆ ุงู„ type
135
00:10:44,620 --> 00:10:53,810
costing ู‡ุฐุงู‡ุฐู‡ ุงู„ุงุตุทู†ุงุนุงุช ู„ุงุฒู… ุชุณุจู‚ ู‡ุฐุง
136
00:10:53,810 --> 00:10:59,670
ุงู„ุงู…ุฑ
137
00:11:12,150 --> 00:11:15,010
ุทูŠุจ ุงู„ู„ูŠ ุงุญู†ุง ุจุฏู†ุง ู†ุดูˆู ู‡ุฐุง ุงู„ูƒู„ุงู… ุจุฏู†ุง ู†ุดูˆู ู‡ุฐุง
138
00:11:15,010 --> 00:11:20,290
ุงู„ูƒู„ุงู… ูƒู…ุง ุดูˆูŠุฉ ุจู†ุดูˆู ูƒูŠู ุจุชุชุนู…ู„ ุงู„ู„ูŠ ู‡ูˆ ุงู„ type
139
00:11:20,290 --> 00:11:25,630
conversion instruction ุจุณ ู‚ุจู„ ุจุฏู†ุง ู†ุญูƒูŠ ุนู„ู‰ ุงู„ู„ูŠ
140
00:11:25,630 --> 00:11:30,510
ู‡ูˆ ุงู„ symmetrical ุงู„ู„ูŠ associated with ุงู„
141
00:11:30,510 --> 00:11:35,670
expressions ุจู…ุนู†ู‰ ุงู† ุงู†ุง ุงู„ุงู† ุนู†ุฏูŠ expression ูˆ
142
00:11:35,670 --> 00:11:40,790
ุงุญุฏู‰ ุตูŠุบุชู‡ ุงู† ู‡ูˆ ูŠุชูƒูˆู† ู…ู† two expressions ู…ุง ุจูŠู†ู‡ู…
143
00:11:40,790 --> 00:11:46,340
ุนู…ู„ู‡ุง ู…ุชุฒุงูŠุฏุจุฏู†ุง ุงู„ู€ type ุชุจุน ุงู„ expression
144
00:11:46,340 --> 00:11:53,220
ุงู„ุฅุฌู…ุงู„ูŠ ูˆู‚ูˆู„ู†ุง ู‡ุฐู‡ ู‡ูŠ ู…ุธูŠูุฉ ุงู„ compiler ููŠ ู‡ุฐุง ุงู„
145
00:11:53,220 --> 00:11:57,420
section ููŠ ู‡ุฐุง ุงู„ุฅุทุงุฑ ุงู„ู„ูŠ ุงุญู†ุง ุจู†ุญูƒูŠ ููŠู‡ ุฅุทุงุฑ ุงู„
146
00:11:57,420 --> 00:12:01,380
type checking ุงู† ู‡ูˆ ุจุฏู‡ ูŠูุญุต ุงู„ type ูˆ ุจุฏู‡ ูŠุนู…ู„
147
00:12:01,380 --> 00:12:05,620
type conversion ุฅุฐุง ู„ุงุฒู… ุงู„ุฃู…ุฑ ูุนู„ุง ูููŠ ุงู„ุดูƒู„
148
00:12:05,620 --> 00:12:10,020
ุงู„ุฃูˆู„ุงู†ูŠ ุงู„ู„ูŠ ู‡ูˆ ูŠูุญุต ุงู„ type ูŠูุญุต ุงู„ type ุจู…ุนู†ู‰
149
00:12:10,020 --> 00:12:15,510
ุฃู†ู‡ ูŠุนุทูŠูƒุงู„ู€ dot type attribute ูŠุนุทูŠู‡ุง ุงู„ value
150
00:12:15,510 --> 00:12:20,010
ุชุจุนู‡ ูุฅูŠุด ุงู„ value ุงู„ุฅุฌู…ุงู„ูŠ ุชุจุน ุงู„ value ุชุจุน ุงู„
151
00:12:20,010 --> 00:12:22,610
expression ุงู„ุฅุฌู…ุงู„ูŠ ุงู„ value ุชุจุน ุงู„ dot attribute
152
00:12:22,610 --> 00:12:28,410
ุชุจุน ุงู„ expression ุงู„ุฅุฌู…ุงู„ูŠ ู†ู‚ุฏุฑ ู†ู‚ูˆู„ ุฒูŠูƒูŠ ุฅู† ูˆุงู„ู„ู‡
153
00:12:28,410 --> 00:12:37,370
ุฅุฐุง E1 ุนุจุงุฑุฉ ุนู† ุฅู†ุชุฌุฉ ูˆ E2 ุนุจุงุฑุฉ ุนู† ุฅู†ุชุฌุฉ ูŠุจู‚ู‰ ุงู„
154
00:12:37,370 --> 00:12:40,990
expression ุงู„ุฅุฌู…ุงู„ูŠ ุงู„ type ุชุจุนู‡ ุฅู†ุชุฌุฉ
155
00:12:44,170 --> 00:12:49,290
ู‡ู†ุงูƒ ู…ุง ูŠุชู‚ู„ุจ ุจูŠู‡ ูˆู‡ูˆ ุฅุนุทุงุก ุงู„ู€ dot type ุงู„ value
156
00:12:49,290 --> 00:12:52,430
ุชุจุนู‡ุง ุงู„ dot type ู…ูŠู† ุชุจุน ุงู„ expression ุฃุฌู…ุงู„ู‡ุง
157
00:12:52,430 --> 00:12:56,570
ุฅุฐุง ูƒุงู† ู‡ู†ุงูƒ ุงุฎุชู„ุงู ูู‡ูŠ ู„ุงุฒู… ุชุญูˆูŠู„ู‡ ู„ูƒู† ุฏุนู†ุง ู†ุญู†
158
00:12:56,570 --> 00:13:00,310
ู†ุชุญูˆูŠู„ู‡ุง ุนู„ู‰ ุดุฌุฉ ู‚ู„ูŠู„ ุงู„ุขู† ุฃุฌู„ู†ุงู‡ุง ุจุณ ู…ุฌุฑุฏ ุฃู†ู†ุง
159
00:13:00,310 --> 00:13:07,590
ู†ุฑู‰ ูƒูŠู ุฅุฐุง ู„ูˆ ุฃู† ุงู„ุฃูˆู„ุงู†ูŠ
160
00:13:07,590 --> 00:13:10,730
integer ูˆุงู„ุซุงู†ูŠ integer ุจุงู„ุฅุฌู…ุงู„ ุงู„ integer ุฅุฐุง
161
00:13:10,730 --> 00:13:15,760
ูƒุงู† ุงู„ุฃูˆู„ุงู†ูŠ float ูˆุงู„ุซุงู†ูŠ integerู…ุงุฐุง ู†ุนุทูŠ ู„ู„ู€ E
162
00:13:15,760 --> 00:13:21,740
-typeุŸ ู†ุนุทูŠู‡ float ุจุณ
163
00:13:21,740 --> 00:13:25,560
ู‡ุฐุง ุงู„ูƒู„ุงู… ุจุฑุถู‡ ูŠุชุถู…ู† ุงู†ู†ุง ู‡ู†ุนู…ู„ conversion ู‡ู†ุนู…ู„
164
00:13:25,560 --> 00:13:31,040
conversion ูˆู†ุนุทูŠู‡ุง float ุตุญุŸ ุจุชุงู†ุฉ ุงู‡ ููŠ ุญุงู„ุฉ
165
00:13:31,040 --> 00:13:37,020
ุงู„ุชุงู†ูŠุฉ ุทุจุนุง ุงู„ุงู† ู‡ุฐุง ู…ุซุงู„ ุจุณูŠุท ุจุณ ุนุดุงู† ุงูˆุถุญ ููƒุฑุฉ
166
00:13:37,020 --> 00:13:41,680
ุงู† ุงู†ุง ุจุญุท ุงู„ type ุงู„ type attribute ุจุนุทูŠู‡ุง ู‚ูŠู…ุชู‡ุง
167
00:13:41,680 --> 00:13:48,050
ุจู‡ุฐุง ุงู„ุฃุณู„ูˆุจูˆ ูˆูŠู† ุจุญุทู‡ุง ู„ูƒุงู† ูƒุฅูŠุด ูƒ semantic rule
168
00:13:48,050 --> 00:13:53,070
ุชุฏุฎู„ ู…ุน ู…ูŠู† ู…ุน ุงู„ grammar ููŠ syntax directed
169
00:13:53,070 --> 00:14:00,470
definition ุตุญ ูˆู„ุง ู„ุฃ okay ูŠุนู†ูŠ ุจุญุฏุฏ ุงู„ time ุจู‡ุฐุง
170
00:14:00,470 --> 00:14:04,930
ุงู„ุฃุณู„ูˆุจ ุงู„ุนู…ู„ูŠุฉ ุงู„ conversion ููŠ ุงู„ุฃูˆู„ ุงุญู†ุง ุจุฏุฃู†ุง
171
00:14:04,930 --> 00:14:08,070
ู†ุชูู‡ู… ุงู† ุงู„ conversion ุฏุงูŠู…ุง ุจูŠุจุฏุฃ ู…ู† ุงู„ุฃุถุบุท ุจูŠูƒูˆู†
172
00:14:08,070 --> 00:14:10,310
ููŠ ุงุชุฌุงู‡ ู…ู† ุงู„ุฃุถุบุท ุฅู„ู‰ ุงู„ุฃูˆุณุน
173
00:14:12,730 --> 00:14:16,530
ูุงู„ููƒุฑุฉ ู‡ุฐุง ุจูŠูˆุฑูŠู„ูŠ ูŠุนู†ูŠ ุฅูŠุด ุฃู†ุง ุฃุถูŠู‚ ูˆ ุฅูŠุด ุฃูˆุณุน
174
00:14:16,530 --> 00:14:19,690
ู‡ุฐุง narrowing ูŠุนู†ูŠ ู„ูˆ ุฃู†ุง ุญูˆู„ุช ู…ู† double ู„ float
175
00:14:19,690 --> 00:14:23,030
ุฃูˆ ู…ู† float ู„ long ุฃูˆ ู…ู† long ู„ integer ุฃู†ุง ุจุถูŠู‚
176
00:14:23,030 --> 00:14:27,990
ุตุญ narrowing ูˆ ุงู„ุนูƒุณ ุงู„ู„ูŠ ู‡ูˆ ุฅูŠุด ุงู„ widening
177
00:14:27,990 --> 00:14:31,050
widening ูŠุนู†ูŠ ู„ู…ุง ุฃู†ุง ุจุญูˆุฑ ู…ู† byte ุฅู„ู‰ short ู…ู†
178
00:14:31,050 --> 00:14:34,330
short ุฅู„ู‰ integer ู…ู† integer ุฅู„ู‰ long ูˆ ู…ู…ูƒู† ู…ู†
179
00:14:34,330 --> 00:14:38,990
integer ุฅู„ู‰ float ูŠุนู†ูŠ ู…ุด ุถุฑูˆุฑุฉ ุฅูŠุด ุจุดูƒู„ ู…ุจุงุดุฑู„ุฃ
180
00:14:38,990 --> 00:14:45,110
ุจุงู„ุชุฏุฑูŠุจ ู…ู…ูƒู† ุงุฎุชุตุฑ ุจุดูƒู„ ุนู„ู‰ ุทูˆู„ ู…ุจุงุดุฑ ูู‡ุฐุง ุงุณู…ู‡
181
00:14:45,110 --> 00:14:50,810
widening ุตุญุŸ ุงู„ุขู† ุงุญู†ุง ุงู„ widening ุจุชู…ู† ุงู„ุฃุถุฑู‚ ุฅู„ู‰
182
00:14:50,810 --> 00:14:55,470
ุงู„ุฃูˆุณุน ุงู„ุขู† ุฏูˆุฑ ุงู„ compiler ุงู†ู‡ ูŠุญุฏุฏ ู…ู† ุงู„ุฃุถุฑู‚ ู…ู†
183
00:14:55,470 --> 00:15:00,450
ุงู„ุฃูˆุณุน ูˆ ูŠูˆุณุน ุงุฐุง ููŠ ุงุฎุชู„ุงู ุงุฐุง ููŠ ุงุฎุชู„ุงู ุงุฐุง ุงู†ุง
184
00:15:00,450 --> 00:15:03,510
ุจุญูƒูŠ ุนู† expression ูˆ ุงู„ expression ู‡ุฐุง ูŠุชุฌูˆู„ ู…ู†
185
00:15:03,510 --> 00:15:03,670
two
186
00:15:06,610 --> 00:15:12,910
ุฃุถุบุท ู…ู† ุงู„ุชุงู†ูŠ ูŠุชูˆุณุน ุฅู„ู‰ ุงู„ type ุงู„ุชุงู†ูŠ ูŠุชูˆุณุน ูŠุนู†ูŠ
187
00:15:12,910 --> 00:15:19,390
ุจูŠุญุตู„ ููŠู‡ explicit type conversion explicit ู‡ูˆ ุนู„ู‰
188
00:15:19,390 --> 00:15:21,450
ู…ุณุชูˆู‰ ุงู„ three address code ุจุณ ุจุงู„ู†ุณุจุฉ ู„ู„
189
00:15:21,450 --> 00:15:27,670
programmer ู‡ูˆ implicit ุตุญ ุชู…ุงู… ูุงุญู†ุง ุงู„ุขู† ุจูŠุญู†ุง
190
00:15:27,670 --> 00:15:31,330
ู†ุชุฎูŠู„ two functions ุงู„ function ุงู„ุฃูˆู„ู‰ ุงุณู…ู‡ุง max
191
00:15:31,330 --> 00:15:36,440
ุงู„ max ู‡ุฐู‡ ุจู†ุนุทูŠู‡ุง two typesTWO TYPES ูˆุจู†ุนู…ู„ู‡ุง
192
00:15:36,440 --> 00:15:40,860
ุจุญูŠุซ ุงู† ู‡ูŠ ุชุชุทู„ุน ุนู„ู‰ ุงู„ two types ุฏูˆู„ุฉ ูˆ ุชุนุทูŠู†ูŠ
193
00:15:40,860 --> 00:15:46,620
ู…ูŠู† ู…ูŠู† ู…ูŠู† ุงู„ุฃูƒุจุฑ ุตุญ ู…ูŠู† ุงู„ุฃูƒุจุฑ ุญุฌู…ู‡ุง ู…ู† ู†ุงุญูŠุฉ ุงู„
194
00:15:46,620 --> 00:15:50,720
size ููŠ ุงู„ memory ุฎู„ูŠ ุจุงู„ูƒ ุงู† ุงู„ types ู‡ุฐู‡ ุชูŠ ูˆุงุญุฏ
195
00:15:50,720 --> 00:15:55,840
ุชูŠ ุงุชูŠู† ู…ู…ูƒู† ุชุจู‚ู‰ simple types integer float ุงูˆ
196
00:15:55,840 --> 00:16:00,830
ุชุจู‚ู‰ complex type ุฒูŠ array ofุฃูˆ array of two of
197
00:16:00,830 --> 00:16:04,330
array of three of integer ุตุญ ุฒูŠ ุงู„ู…ุซุงู„ ุงู„ู„ูŠ ู‡ู†ุง
198
00:16:04,330 --> 00:16:09,130
ูู‡ูŠ ูˆุธูŠูุฉ TMAX ู‡ุฐู‡ ูู‚ุท ุงู†ู‡ุง ุจุชุนุทูŠู†ูŠ ุชู‚ูˆู„ู„ูŠ ู…ูŠู† ู…ู†
199
00:16:09,130 --> 00:16:11,770
ุงู„ุงุชู†ูŠู† ุงู„ู„ูŠ ุฏุฎู„ูˆุง ุนู„ูŠู‡ุง ู…ูŠู† ู…ู† ุงู„ two types ุงู„ู„ูŠ
200
00:16:11,770 --> 00:16:17,590
ุนุทูŠู†ุง ู‡ูŠุงู‡ู… ุงู„ size ุชุจู‚ู‰ ุฃูƒุจุฑ ุจู†ุงุก ุนู„ู‰ ุงู„ุฅุดุงุฑุฉ
201
00:16:17,590 --> 00:16:21,170
ุงู„ู„ูŠ ุจุฏูŠ ุชุฌูŠู†ูŠ ู…ู†ู‡ุง ุจู‚ู‰ ูƒุฑู…ุฑ ุงุนู…ู„ widening
202
00:16:21,170 --> 00:16:28,170
widening ู„ู…ูŠู†ุŸู„ู„ูŠ ุงูŠุด ู„ู„ูƒุจูŠุฑ ุทุจุนุง ู„ู„ุตุบูŠุฑ ุงุฐุง ู…ุงูƒุณ
203
00:16:28,170 --> 00:16:33,910
ุชุงูƒุณ two types ุชุงูƒุณ two types T1 ูˆ T2 ูŠุนู†ูŠ ุงู†ุง
204
00:16:33,910 --> 00:16:43,290
ุชุฎูŠู„ ู…ุนุงูŠุง E1 ูˆ E2 ู‡ุฏูˆู„ุฉ ุนู†ุฏูŠ ุงู„ attributes ุณุจู‚ุชู‡ู…
205
00:16:43,290 --> 00:16:48,610
ูˆู„ุง
206
00:16:48,610 --> 00:16:53,590
ู„ุง ู‡ู… ู…ู…ูƒู† ุงุนุทูŠู‡ู… ู„ู…ูŠู† ู„ู…ุงูƒุณ ูˆู‡ูŠ ุงู„ู„ูŠ ุจุชู‚ูˆู„ ู„ูŠู‡ู…ูŠ
207
00:16:53,590 --> 00:16:58,830
ู„ุงูƒุจุงุฑ ู‡ูŠ and returns the maximum or least upper
208
00:16:58,830 --> 00:17:01,950
bound of the two types in the widening hierarchy
209
00:17:01,950 --> 00:17:07,230
it declares an error ุฅุฐุง T1 ูˆ T2 is not in the
210
00:17:07,230 --> 00:17:12,050
hierarchy ุฅุฐุง ู…ุง ุจุชุนุฑูุด ุฃูŠ ูˆุงุญุฏ ู…ู†ู‡ู… ุฃูˆ ุฅุฐุง .. ุฅุฐุง
211
00:17:12,050 --> 00:17:14,150
.. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง
212
00:17:14,150 --> 00:17:15,250
.. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง
213
00:17:15,250 --> 00:17:15,290
.. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง
214
00:17:15,290 --> 00:17:15,450
.. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง
215
00:17:15,450 --> 00:17:21,310
.. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง .. ุฅุฐุง
216
00:17:22,820 --> 00:17:26,040
ุจุทู„ู‘ู‡ ู„ูŠ ู…ูŠู† ุฅุฐุง ู‡ู… equal ุจุทู„ู‘ู‡ ู„ูŠ ุฃูŠ ูˆุงุญุฏ ู…ู†ู‡ู…
217
00:17:26,040 --> 00:17:31,900
ูˆุฅุฐุง ูˆุงุญุฏ ู…ู†ู‡ู… ุฃูƒุจุฑ ู…ู† ุงู„ุชุงู†ูŠ ุจุทู„ู‘ู‡ ู„ูŠ ุงู„ุฃูƒุจุฑ ุงู„ุงู†
218
00:17:31,900 --> 00:17:37,380
ุจุนุฏ ุฐู„ูƒ ุจู‚ุฏุฑ ุฃุฌูŠ ุฃู‚ูˆู„ widen ู„ู…ู†ุŸ ู„ู„ุตุบูŠุฑ ุงู„ widen
219
00:17:37,380 --> 00:17:45,760
function ุจุนุทูŠู‡ุง address ุจุนุทูŠู‡ุง ู„ู„ุตุบูŠุฑ ูˆ ุจุนุทูŠู‡ุง ุงู„
220
00:17:45,760 --> 00:17:47,700
type ุงู„ูƒุจูŠุฑ ุงู„ู„ูŠ ุงู†ุง ุจุฏูŠ ุงุชุญูˆู„
221
00:17:52,150 --> 00:17:55,850
ู„ูŠุด ุจุฃุนุทูŠู‡ุง addressุŸ
222
00:17:55,850 --> 00:18:03,990
ู„ูŠุด ุจุฃุนุทูŠู‡ุง addressุŸ ุฅูŠุด ูŠุนู†ูŠ addressุŸ ุงุชุฐูƒุฑ
223
00:18:03,990 --> 00:18:09,950
ู…ุนุงูŠุง ุฅู†ู‡ ุงุญู†ุง ู„ู…ุง ูƒู†ุง ููŠ ุงู„ examples ุงู„ู„ูŠ ู‚ุจู„
224
00:18:09,950 --> 00:18:14,550
ุจุงู„ุฏุฑุฌุฉ
225
00:18:14,550 --> 00:18:19,150
ุนู„ู‰ ุงู„ example ููŠ
226
00:18:19,150 --> 00:18:24,200
ุงู„ุจุฏุงูŠุฉ ููŠ ุงู„ุจุฏุงูŠุฉ ูƒุงู† ู…ุนุงู†ุง exampleุชุฑุฌู…ุฉ ู„ู€ two
227
00:18:24,200 --> 00:18:33,640
expressions ุฅุฐุง
228
00:18:33,640 --> 00:18:42,420
ุชุฐูƒุฑูˆุง ูƒุงู† ู‡ุฐุง ุงู„ู„ูŠ ู‡ูˆ ุงู„ code ูˆู‡ุฐุง
229
00:18:42,420 --> 00:18:47,080
E2 not code ุจุนุฏูŠู†
230
00:18:47,080 --> 00:19:00,300
ุฃุฎุฏู†ุง ุงู„ T2 ุงู„ู„ูŠ ู‡ูŠ ู†ุงุชุฌุฉุฃุญู†ุง ุงุนุชุจุฑู†ุง ู‡ุฐุง
231
00:19:00,300 --> 00:19:06,380
E1 ูˆู‡ุฐุง E2 ุจูŠู†ู‡ู… ุงู„ุฐุงุช ุชู…ุงู… ุงุนุชุจุฑู†ุง ุงู† ุงู„ุณุทุฑูŠู†
232
00:19:06,380 --> 00:19:10,820
ุงู„ุฃูˆู„ูŠุงุช ู‡ู… ุชุฑุฌู…ุฉ ุงู„ E code ุชุจุน ุงู„ dot code ุชุจุน E1
233
00:19:10,820 --> 00:19:15,220
ูˆ ุงู„ุณุทุฑูŠู† ุงู„ุชุงู†ูŠุงุช ู‡ู… ุงู„ dot code ุชุจุน E2 ูˆ ุจุนุฏู‡ุง
234
00:19:15,220 --> 00:19:18,280
ุจูŠุฌูŠุด ุงู„ุณุทุฑ ุงู„ู„ูŠ ุจุฏู‡
235
00:19:20,790 --> 00:19:29,370
ูŠุญุท ู†ุชูŠุฌุฉ ุนู…ู„ูŠุฉ ุงู„ุฌุงู…ุนุฉ ู‡ุฐุง ูƒู„ู‡ ู‡ูŠูƒ ู„ุงู† ู‡ู†ุง ู…ุชูŠู†
236
00:19:29,370 --> 00:19:33,810
ุจุนุฏู‡ุง ูƒุงู† ู‡ุฐุง ุงู„ุตู‚ุฑ ุงู„ุฃุฎูŠุฑ ู‡ูˆ ุงู„ู„ูŠ ู‡ูˆ ุงู„
237
00:19:33,810 --> 00:19:40,590
assignment ุฃุฎุฏู†ุง ุงู„ T5 ุนุดุงู† ู†ุนุทูŠู‡ุง ู„ุฅูŠู‡ T5 ู‡ูŠ ุฅูŠุด
238
00:19:40,590 --> 00:19:45,990
ุงู„ address ุชุจุน ุงู„ expression ูƒู„ู‡ T2 ู‡ูŠ ุงู„ address
239
00:19:45,990 --> 00:19:51,320
ุชุจุน expression ูˆุงุญุฏุชุฐูƒุฑูˆุง ู…ุฑุฉ ู…ุนุงู†ุง ูƒุงู† ููŠู‡ุง ุญุงุฌุฉ
240
00:19:51,320 --> 00:19:56,020
ุงุณู…ุฉ E.code E ูˆุงุญุฏ ุงู„ code ูˆ E ูˆุงุญุฏ dot address ูˆ
241
00:19:56,020 --> 00:20:00,420
E ุงุชู†ูŠู† ุจุฑุถู‡ dot address ู‡ุฐู‡ address ู‡ูŠ ุนุจุงุฑุฉ ุนู†
242
00:20:00,420 --> 00:20:07,000
ุงู„ temporary ุงูˆ ุงู„ name ุงูˆ ุงู„ variable ุงู„ู„ูŠ ุจูŠุชุฌู…ุน
243
00:20:07,000 --> 00:20:10,660
ููŠ ุงู„ value ุชุจุน ู‡ุฐุง ุงู„ expression ุงูˆ ุงู„ sub
244
00:20:10,660 --> 00:20:15,040
expression ุงุฐุง ู‡ูˆ sub expression ู…ุธุจูˆุท ูุงู†ุง ุงู„ุงู†
245
00:20:15,040 --> 00:20:22,460
ุนู†ุฏูŠ E ุงุชู†ูŠู†ู‡ูˆ ุงู„ู„ูŠ ุจุชุฌู…ุน ููŠู‡ ุงู„ value ุชุจุน ู‡ุฐุง
246
00:20:22,460 --> 00:20:33,580
expression ูˆู‡ู†ุง ู‡ุฐุง T2 ูˆู‡ุฐุง T4 ุทูŠุจ ู„ูˆ ุงู†ุง ู„ูˆ
247
00:20:33,580 --> 00:20:38,560
ูƒุงู† ููŠ ุนู†ุฏูŠ T4 ุงู„ type ุชุจู‚ู‰ ุบูŠุฑ ุนู† T2 ูŠุนู†ูŠ ู‡ุฐุง
248
00:20:38,560 --> 00:20:43,740
ู…ุซู„ุง integer ูˆู‡ุฐุง float ูุงู†ุง ุจุฏูŠ ุงุนู…ู„ ุงู„ุชุญูˆูŠู„ ุนู„ู‰
249
00:20:47,670 --> 00:20:53,190
ู‡ุฐุง float ูˆู‡ุฐุง integer ุจุฏูŠ ุงุญูˆู‘ู„ T2 ุจุฏูŠ ุงุญูˆู‘ู„ ู‡ุฐุง
250
00:20:53,190 --> 00:20:58,590
ุจุฏูŠ ุงุนู…ู„ ุชุญูˆูŠู„ ุนู„ู‰ ุจู†ูŠุงู† T2 ูT2 ู‡ูˆ ุงู„ address ุงู„ู„ูŠ
251
00:20:58,590 --> 00:21:05,550
ุจุฏูŠ ุฃุณู„ู…ู‡ ู„ ูˆูŠุฏู† ู‡ู‚ูˆู„ ู„ ูˆูŠุฏู† T2 ูˆ ุฃุนุทูŠู‡ุง ุงู„ tribe
252
00:21:05,550 --> 00:21:09,770
ุชุจุนู‡ ุงู„ู„ูŠ ู‡ูˆ ุจุฏูŠ ู†ูƒูˆู† integer ูˆ ุฃู‚ูˆู„ู‡ุง ุญูˆู„ูŠ ู„ูŠู‡
253
00:21:09,770 --> 00:21:14,950
ุฅู„ู‰ float ูˆุงุถุญ ู„ูŠุด ุงุญู†ุง ุจู†ุนุทูŠู‡ุง addressุŸ
254
00:21:18,250 --> 00:21:22,350
ุงู„ู„ูŠ ุงู„ type ุชุจุนู‡ integer ูู‰ ุงู„ุขุฎุฑ ุจูŠุตูˆุจ ูู‰ ู…ูŠู† ูู‰
255
00:21:22,350 --> 00:21:25,290
ุงู„ address ูู„ุงู†ู‰ ูุงู†ุง ู‡ูˆ ู‡ุฐุง ุงู„ู„ู‰ ู‡ุญุงูˆู„ู‡ ู…ุด ู‡ุนู…ู„
256
00:21:25,290 --> 00:21:32,210
ุชุญูˆูŠู„ ู„ูƒู„ ุงู„ุฃุณุทุฑ ุงู†ุง ู‡ุฎู„ู„ ุงู„ุฃุณุทุฑ ูƒู„ู‡ุง ุชุชุตูู‰ ูู‰
257
00:21:32,210 --> 00:21:37,050
ุงู„ุขุฎุฑ ูู‰ ู‡ุฐุง ุงู„ T ูˆ ู‡ุฐุง ุงู„ T ุงู„ value ุงู„ value
258
00:21:37,050 --> 00:21:40,230
ุชุจุนู‡ ุงู„ู„ู‰ ุนู…ู„ ุงู„ conversion ูˆ ุงู†ุง ู‡ูุฏุฑุด ุนู„ู‰ ุฅูŠุด
259
00:21:40,230 --> 00:21:41,150
ุนู„ู‰ ุงู„ slide ู‡ุฐู‰
260
00:21:58,070 --> 00:22:02,170
Wieden generates type convergence if needed to
261
00:22:02,170 --> 00:22:08,390
widen an address A of type T into a value of type
262
00:22:08,390 --> 00:22:14,570
W ุฅุฐุง ูˆ ุงู„ู„ู‡ ุฃู†ุง ู…ุง ุฃุนุทูŠู‡ุง T ูˆ W ู†ูุณ ุงู„ู†ูˆุน ูˆ ู‚ุนุฏ
263
00:22:14,570 --> 00:22:19,480
ุจู‚ูˆู„ู‡ุง Wieden A ู…ู† integer ู„ integerู‡ุชุฑุฌุน ู„ a ู‡ูˆ
264
00:22:19,480 --> 00:22:24,740
ู‡ูˆ ูˆุงุด ูˆู…ุง ุชุบูŠุฑุด ุงูŠ ุญุงุฌุฉ ู„ูƒู† ู„ู…ุง ุจู‚ูˆู„ู‡ุง a ู…ู†
265
00:22:24,740 --> 00:22:28,860
integer ู„ float ู…ุนู†ุงุชู‡ ูˆุงูŠุฏู† ู…ุณุฆูˆู„ุฉ ุงู†ู‡ุง ุชุนู…ู„
266
00:22:28,860 --> 00:22:35,340
generate ู„ instruction ุฒูŠ ู‡ุฐู‡ ู‡ูŠ
267
00:22:35,340 --> 00:22:41,020
ุงู„ู„ูŠ ุจุชุนู…ู„ ู‡ุฐุง ุงู„ instruction ูˆุงูŠุฏู† ูˆุชุนุทูŠู„ูŠ T1
268
00:22:41,020 --> 00:22:45,560
ุงู„ู„ูŠ ุฃุฎุฏู‡ ูˆุญุทู‡ ู„ุงุญู‚ุง ููŠ ุงู„ instruction ุงู„ู„ูŠ ุจุนุฏ
269
00:22:49,570 --> 00:22:57,490
ูˆ ุงูŠ ุงูŠ ูˆุงูŠุฏู† ุงุชุฑุชูŠุฒ ุงูŠู‡ ุงุชุณู„ู ุงุฐุง T ูˆW ุงุชุณู„ู ููŠ
270
00:22:57,490 --> 00:23:02,910
ู†ูุณ ุงู„ูˆู‚ุช ุงุฎุฑู‰ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„
271
00:23:02,910 --> 00:23:03,370
ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„
272
00:23:03,370 --> 00:23:03,730
ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„
273
00:23:03,730 --> 00:23:03,870
ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„
274
00:23:03,870 --> 00:23:03,890
ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„
275
00:23:03,890 --> 00:23:07,190
ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„ ุชุนู…ู„
276
00:23:18,140 --> 00:23:25,780
ุนุทูŠู†ูŠ temporary ุตุญ ูreturns an address ุจุชุงุฎุฏ
277
00:23:25,780 --> 00:23:29,940
ุงู„ address ุงู„ู„ูŠ ุงู†ุง ุจุฏูŠ ุงุญูˆู„ู‡ ูˆ ุงู„ type ุชุจุนู‡ ูˆ ุงู„
278
00:23:29,940 --> 00:23:36,020
type ุงู„ู„ูŠ ุงูŠุด ุงู†ุง ุจุฏูŠ ุงุญูˆู„ู‡ ุนู„ูŠู‡ ุงู„ูŠู‡ ูู‡ูŠ ุจุชูุญุต
279
00:23:36,020 --> 00:23:40,300
ุงุฐุง T ุจุณุงูˆูŠ W ู†ูุณ ุงู„ type ู‡ู†ุง ู‡ุฐุง type checking
280
00:23:43,250 --> 00:23:46,570
ุงู„ู€ T ู‡ุฐุง ูˆ ุงู„ู€ W ู‡ุฐุง ู‚ุฏ ูŠูƒูˆู† Simple ูŠุนู†ูŠ ุฅูŠู‡ ุงู„ู€
281
00:23:46,570 --> 00:23:50,390
Integer ููŠ ู„ูˆุชูƒ ุฃูˆ ู‚ุฏ ูŠูƒูˆู† Complex ุฃูˆ Compound ุฃูˆ
282
00:23:50,390 --> 00:23:54,450
Array ุงู„ู€ Compiler ู„ุงุฒู… ูŠูƒูˆู† ู‚ุงุฏุฑ ุฃูˆ ุงู„ู€ Wider
283
00:23:54,450 --> 00:23:58,830
ู„ุงุฒู… ูŠูƒูˆู† ู‚ุงุฏุฑ ุนู„ู‰ ุฅุฌุฑุงุก ุงู„ู…ู‚ุงุจู‚ุฉ ุฃูˆ ุงู„ู…ู‚ุงุฑู†ุฉ ุจูŠู†
284
00:23:58,830 --> 00:24:03,450
ุงู„ู€ Types ุณูˆุงุก ูƒุงู†ุช Simple Types ูˆู„ุง Complex Types
285
00:24:03,450 --> 00:24:07,330
ูุฅุฐุง ู‡ู… ุงู„ุฅุซู†ูŠู† ู…ู…ูŠุฒูŠู† .. ู…ู…ูŠุฒูŠู† .. ู…ู…ูŠุฒูŠู† ..
286
00:24:07,330 --> 00:24:08,150
ู…ู…ูŠุฒูŠู† .. ู…ู…ูŠุฒูŠู† .. ู…ู…ูŠุฒูŠู† .. ู…ู…ูŠุฒูŠู† .. ู…ู…ูŠุฒูŠู† ..
287
00:24:08,150 --> 00:24:09,590
ู…ู…ูŠุฒูŠู† .. ู…ู…ูŠุฒูŠู† .. ู…ู…ูŠุฒูŠู† .. ู…ู…ูŠุฒูŠู† .. ู…ู…ูŠุฒูŠู† ..
288
00:24:09,590 --> 00:24:10,750
ู…ู…ูŠุฒูŠู† .. ู…ู…ูŠุฒูŠู† .. ู…ู…ูŠุฒูŠู† .. ู…ู…ูŠุฒูŠู† .. ู…ู…ูŠุฒูŠู† ..
289
00:24:10,750 --> 00:24:15,140
ู…ู…ูŠุฒูŠู† .. ู…ู…ูŠุฒูŠู†ุณุฃุนูˆุฏ ุฅู„ู‰ ุฃู†ู‡ ู„ุง ูŠูˆุฌุฏ ุฃูŠ ุชุบูŠูŠุฑ ู„ุฃู†
290
00:24:15,140 --> 00:24:20,260
ุฅุฐุง ูƒุงู† ู‡ู†ุงูƒ ุงุฎุชู„ุงู ูุจู†ุดูˆู ุงู„ุงุฎุชู„ุงู ูƒูŠู ู‡ู„ ุชูŠ
291
00:24:20,260 --> 00:24:25,300
ุงู†ุชุฌุฑ ูˆ ุชุงู†ูŠ float ุฅุฐุง ูƒุงู† ุฐู„ูƒ ูู†ุนู…ู„ new temp
292
00:24:25,300 --> 00:24:33,700
ูˆู†ุณุชุญุฏุซ ู‡ุฐู‡ ุงู„ instruction ู†ุนู…ู„ new temp ูู„ูŠูƒู† ุชูŠ
293
00:24:33,700 --> 00:24:41,030
ุชู„ุงุชุฉ ูˆู†ุถุน ู‡ุฐุง ุงู„ temp ุชูŠ ุชู„ุงุชุฉ ูŠุณุงูˆูŠูˆ ู†ูƒุชุจ ูƒู„ู…ุฉ
294
00:24:41,030 --> 00:24:48,870
float ุจูŠู† ุจู„ูˆุณูŠู† ู…ุณูƒู‘ุฑ ูˆ ู†ุถุน ุง ุง ุงู„ู„ูŠ ุงุญู†ุง ุทุงู„ุจูŠู†
295
00:24:48,870 --> 00:24:56,890
ุชุญูˆูŠู„ู‡ ุงู„ุงุฏุฑุณ ุงู„ู„ูŠ ุงุญู†ุง ุทุงู„ุจูŠู† ุชุญูˆูŠู„ู‡ ูˆ ู†ุถุน ุง ุง ุง
296
00:24:56,890 --> 00:24:58,250
ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง
297
00:24:58,250 --> 00:24:59,430
ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง
298
00:24:59,430 --> 00:24:59,530
ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง ุง
299
00:25:03,920 --> 00:25:06,760
ู…ู…ูƒู† ุฃุนู…ู„ ุงู„ู€ function ุงู„ู„ูŠ ู‡ูŠ minimum ุฒูŠ function
300
00:25:06,760 --> 00:25:10,320
ุงู„ max ูˆ ุฃุตุจุญ ุฏุงูŠู…ุง ุฃุนุทูŠ ุงู„ minimum ู„ู„ T ูˆ ุฃุนุทูŠ ุงู„
301
00:25:10,320 --> 00:25:16,380
max ู„ู„ W max type ู„ู„ W ูˆ ุงู„ minimum type ู„ู„ T ูˆ
302
00:25:16,380 --> 00:25:19,560
ุงุณูุฒ ุจุงู„D ูˆ ุฃูŠุถุง ุฏุงูŠู…ุง ุจุชุนู…ู„ ูˆ ุฃูŠุถุง ุฏุงูŠู…ุง ุจุชูˆุณุน
303
00:25:19,560 --> 00:25:22,780
ู…ุงู‡ูŠ ุงู„ููƒุฑุฉ ุฃู†ุง ุจุฏูŠ ุฃู† ุงู„ T ู‡ูŠ ุงู„ minimum ูˆ ุจุฏูŠ ุฃู†
304
00:25:22,780 --> 00:25:26,720
ุฃุนุทูŠ ุงู„ W ุงู„ max ุงู„ T ุชู‚ุถูŠู‡ุง ุงู„ minimum ูˆู‡ุง ุงู„ max
305
00:25:26,720 --> 00:25:31,080
ูˆ ุจุชุตุจุญ ุจุชูˆุณุน ุงู‡ ุฏุงูŠู…ุง ู‡ูˆ ุงุญู†ุง ุงูŠุด ุงู„ู„ูŠ ุจูŠุตูŠุญ ุบูŠุทู‡
306
00:25:31,080 --> 00:25:38,780
ุงุญู†ุง ุงู„ู„ูŠ ุนู†ุฏู†ุง ู‡ู†ุง ุงู†ู‡ ุงู†ุงู‡ูŠ ุจุตูุฉ ุนุงู„ู…ูŠุฉ ุงู„
307
00:25:38,780 --> 00:25:42,620
production ู‡ุฐู‡ ุงู„ grammar ุงู„ rule ู‡ุฐู‡ ุญุทูŠู†ุง ู…ุนุงู‡ุง
308
00:25:42,620 --> 00:25:47,440
meaning semantic action ุงุณู… ู…ุด rule ุงู„ semantic
309
00:25:47,440 --> 00:25:53,920
action ู‡ุฐุง ูŠุดุชู…ู„ ุนู„ู‰ ุนุฏุฉ ุฎุทูˆุงุช ุฃูˆู„ ุฎุทูˆุฉ ุชุญุฏูŠุฏ ุงู„
310
00:25:53,920 --> 00:26:01,620
type ุชุญุฏูŠุฏ ุงู„ type ุจุฏู„ ู…ุง ูƒู†ุง ุจู†ู‚ูˆู„ ุงูŠ ูˆุงุญุฏ ุงุฐุง ุงูŠ
311
00:26:01,620 --> 00:26:09,120
ูˆุงุญุฏูˆ E2 ูุณุงูˆูŠ ูƒุฏู‡ ู„ุฃ ุงุญู†ุง ูˆู„ู†ุงู‡ุง ู„ Max Max ู‡ูŠ
312
00:26:09,120 --> 00:26:14,880
ุงู„ู„ูŠ ุจุชูุญุต ุงูŠุด ุงู„ type ุชุจู‚ู‰ E1 ูˆ ุงูŠุด ุงู„ type ุชุจู‚ู‰
313
00:26:14,880 --> 00:26:20,040
E2 ูˆ ุจุชุนุทูŠู†ูŠ ุงูŠู‡ ุงู„ูƒุจูŠุฑ ู…ู† ุจูŠู† ุงู„ุงุชู†ูŠู† ูˆ ู‡ุฐุง
314
00:26:20,040 --> 00:26:24,340
ุงู„ูƒุจูŠุฑ ู‡ูˆ ุชุตูŠุฑ ู‡ูˆ ุงู„ type ุชุจุน E ุชุจุน ุงู„ expression
315
00:26:24,340 --> 00:26:30,580
ุงู„ุฅุฌู…ุงู„ูŠ ุตุญ ุจุธุจุท ู‡ูŠูƒ ู…ู†ุทู‚ูŠ semantically correct
316
00:26:30,580 --> 00:26:35,440
semantically correctุงู„ุงู† ุฎู„ุตู†ุง ู…ู† ู‡ุฐุง type
317
00:26:35,440 --> 00:26:39,460
checking ูˆ type expression assignment ูŠุนู†ูŠ ุงุญู†ุง
318
00:26:39,460 --> 00:26:43,820
assigned ุงู„ data type attribute ุชุจุนุช ุงู„ expression
319
00:26:43,820 --> 00:26:51,460
ู„ุงู† ู„ูˆ ู‡ู… ู…ุฎุชู„ููŠู† ุงูˆ ูƒุฏู‡ ุจุงู„ูƒ max ู„ูˆ ู‡ุฏูˆู„ ุงุชู†ูŠู†
320
00:26:51,460 --> 00:26:56,400
ู†ูุณ ุงู„ typeู‡ุชุนุทูŠู†ูŠ ุงู„ type ู‡ูˆ ุงู„ู„ูŠ ู†ูุณู‡ ู„ูˆ ููŠ
321
00:26:56,400 --> 00:26:59,660
ุงุฎุชู„ุงู ู‡ุชุนุทูŠู†ูŠ ุงู„ูƒุจูŠุฑ ุณูˆุงุก ู‡ุฐุง ุงู„ู„ูŠ ูƒุงู† ูƒุจูŠุฑ ุงูˆ
322
00:26:59,660 --> 00:27:03,160
ู‡ุฐุง ุงู„ู„ูŠ ูƒุงู† ูƒุจูŠุฑ ุจุนุฏูŠู† ุจู†ุฎุด ุนู„ู‰ ู‚ุถูŠุฉ ุงู„
323
00:27:03,160 --> 00:27:06,740
conversion ู‚ุถูŠุฉ ุงู„ conversion ุจู†ู‚ูˆู„ ู„ู‡ ุงู†ุช ู…ุบู…ุถ
324
00:27:06,740 --> 00:27:11,320
why thenุŸ why then ู…ูŠู†ุŸ why then ุงู„ุงุด ุงู„ address
325
00:27:11,320 --> 00:27:17,240
ุชุจุน ุงู„ expression ุงู„ุฃูˆู„ู‰ ูŠุนู†ูŠ ุงูˆุณุน ู„ูŠุดุŸ ู„ู„ E ุฏู‡ ุงู„
326
00:27:17,240 --> 00:27:21,340
type ู„ู„ expression ุงู„ุฅุฌู…ุงู„ูŠ ุชุฐูƒุฑ ุงู„ expression
327
00:27:21,340 --> 00:27:24,320
ุงู„ุฅุฌู…ุงู„ูŠ ู‡ูˆ ุงู„ู„ูŠ ุฃุฎุฏุงู„ expression ุงู„ุฌู…ุงู„ูŠ ุฃุฎุฐ
328
00:27:24,320 --> 00:27:30,440
ุงู„ุฃูˆุณุน ุฃู†ุง ุฌุงู‡ุฒ ู…ู† ุฌู„ุฏู‡ ูˆุงุณุน ู‡ุฐุง ู„ู„ุฃูˆุณุน ุทุจ ุฅุฐุง ูƒุงู†
329
00:27:30,440 --> 00:27:34,840
ู‡ูˆ ู†ูุณู‡ ู‡ูˆ ุฃูŠ ูˆุงุญุฏ ู‡ูˆ ุงู„ู„ูŠ ูƒุงู† ุฃูˆุณุน ุนุงุฏูŠ ุจุณูŠุทุฉ
330
00:27:34,840 --> 00:27:38,700
ูˆุงูŠุฏู† ู…ุด ู‡ุชุนู…ู„ ูˆู„ุง ุญุงุฌุฉ ู…ุด ูˆุงูŠุฏู† ุฃูˆู„ ุญุงุฌุฉ ุจุชูุญุต
331
00:27:38,700 --> 00:27:44,560
ูุงู†ุง ุจุฏู„ ู…ุง ุฃูุญุต ุจุฑุง ูˆุงูŠุฏู† ุฎู„ุช ุนู…ู„ุช ูุญุต ุฌูˆุง ูˆุงูŠุฏู†
332
00:27:44,560 --> 00:27:50,880
ุจุฏู„ ู…ุง ุฃูุญุต ุฃู†ู‡ ูˆุงู„ู„ู‡ ุงุชุทู„ุน ู„ู‡ู„ ูŠุง ุซุฑุฉ ุฃูŠ ูˆุงุญุฏ ู‡ูˆ
333
00:27:50,880 --> 00:27:56,440
ุงู„ู„ูŠ ูƒุงู† ูƒุจูŠุฑุฅุฐุง ู‡ูˆ ูƒุจูŠุฑ ุงุณุชุฏุนู‰ ูˆูŠุฏู† .. ุฅุฐุง ู‡ูˆ
334
00:27:56,440 --> 00:27:59,700
ุงู„ุตุบูŠุฑ ุงุณุชุฏุนู‰ ูˆูŠุฏู† ุนุดุงู† ุชูˆุณุน ูˆุฅุฐุง ู‡ูˆ ุงู„ูƒุจูŠุฑ
335
00:27:59,700 --> 00:28:04,320
ู…ุงุชุณุชุฏุนูŠู‡ุงุด ู„ุฃ ุจุฏู„ ู…ุง ุฃุนู…ู„ ู‡ุฐุง ุงู„ูƒู„ุงู… ู‚ู„ุช ุชุนุงู„ูŠ
336
00:28:04,320 --> 00:28:09,760
ูˆูŠุฏู† ุชุนุงู„ูŠ ูˆุงุณุนูŠ ู‡ูŠ ู„ุญุงู„ู‡ุง ู‡ุชูุญุต ุฅุฐุง ูˆุงู„ู„ู‡ ู…ุงุชุญุชุงุฌ
337
00:28:09,760 --> 00:28:13,100
ุชูˆุณูŠุน ู…ุงุชูˆุณุน ู…ุด ู…ุญุชุงุฌ ู…ุงุชุณูˆูŠุด ู…ุญุชุงุฌ ุชุดุบูŠู„ู‡ ู‡ูŠูƒ
338
00:28:13,100 --> 00:28:17,900
ุงูŠู‡ุŸ ู‡ูŠูƒ ูˆุงุญุฏ ู…ู†ู‡ู… ู‡ูŠูƒูˆู† ุงู„ูƒุจูŠุฑ ูŠุนู†ูŠ ู…ุง ุงูŠ ูˆุงุญุฏ ..
339
00:28:17,900 --> 00:28:21,380
ู…ุง .. ู…ุงุนุฑูุด ูŠู…ูƒู† ู…ุงูŠูƒูˆู†ูˆุด ูŠู…ูƒู† .. ูŠู…ูƒู† ุงู„ุฃุซู†ูŠู†
340
00:28:21,380 --> 00:28:28,430
ุชู†ุชุฌูˆุงุทุจุนุง ู„ูˆ ู‡ุฏูˆู„ุฉ ุงู„ุชุงู†ูŠุฉ ุงู†ุชุฌุฑ ู‡ุฏู‡
341
00:28:28,430 --> 00:28:32,950
ู‡ูŠุจู‚ู‰ integer ุชู…ุงู…ุŸ ู‡ุฏู‡ ุงู„ุงู† ุงู†ุง ู‚ุงุนุฏ ุจู‚ูˆู„ู‡ุง ูˆุณุนู‰
342
00:28:32,950 --> 00:28:36,990
ู…ู† integer ู„ .. integer ุงู†ุชุฌุฑ ู…ุด ู‡ุชุณูˆูŠ ูˆู„ุง ุดูŠุก ุงู„
343
00:28:36,990 --> 00:28:41,330
address ู‡ุฏู‡ ู‡ูˆ ู†ูุณู‡ ุง ูˆุงุญุฏ ูŠุนู†ูŠ ู‡ุฏู‡ ุงู„ pointer
344
00:28:41,330 --> 00:28:46,470
ูŠุดูŠุฑ ุงู„ู‰ ุงูŠุด ู‡ุฏู‡ ู‡ูŠุดูŠุฑ ุงู„ู‰ ู†ูุณู‡ ูˆู‡ุฏู‡ ุจุฑุถู‡ ู…ุด ู‡ุชูˆุณุน
345
00:28:46,470 --> 00:28:50,310
ูˆู„ุง ุญุงุฌุฉ ูŠุนู†ูŠ ู‡ู… ุงู„ุชุงู†ูŠุฉ ุงู†ุชุฌุฑ ู‚ุงุนุฏ ุจู‚ูˆู„ู‡ุง ู…ู†
346
00:28:50,310 --> 00:28:51,070
integer ู„ integer
347
00:28:57,400 --> 00:29:02,740
ุงู„ู€ max ุฏูˆุฑุฉ ุจุณ ุงู† ูŠูุญุต ู…ู† ุงู„ max ูˆ ุงู„ widen ุจุณ
348
00:29:02,740 --> 00:29:07,380
ุชุนู…ู„ ุงูŠุด ุชุนู…ู„ ุชูˆุณูŠุน ูˆ ุฎู„ุงุต ูุตู„ู†ุง ุงู„ุดุบู„ ู†ุนู… ุงู†ุช
349
00:29:07,380 --> 00:29:13,380
ู…ู…ูƒู† ุชุญุทู‡ ูƒู„ู‡ ููŠ ู‡ุฐุง ู„ูƒู† ู„ูˆ ุงู„ุงู† ู‡ุฐุง ู…ูุชุฑุถ integer
350
00:29:13,380 --> 00:29:20,000
ูˆ ู‡ุฐุง float ุงูˆ ู‡ุฐุง long ู‡ุฐุง ุงู„ู„ูŠ ุงู†ุง ู‡ูŠุตูŠุฑ float
351
00:29:20,000 --> 00:29:27,510
ู„ุงู† ู‡ู†ุง ุญุงุจุจ ุงู‚ูˆู„ู‡ุงูˆุงุณุนู‰ ู…ู† integer ู„ุงู† ุงู„ E1 ู‡ูˆ
352
00:29:27,510 --> 00:29:33,170
ุงู„ integer ู…ู† integer ุงู„ู‰ float ุงู†ุง ู…ุงุจุนุทูŠู‡ุง ู‡ู†ุง
353
00:29:33,170 --> 00:29:35,850
ุงู„ time ู…ู† integer ุงู„ู‰ float ูู‡ุฐุง ู‡ุชุฑูˆุญ ุชูˆุณุน ูˆ
354
00:29:35,850 --> 00:29:40,650
ุชุนู…ู„ ุชู†ุณุงุด ู‡ุชุนู…ู„ generation ู„ูŠุด ุงู„ three address
355
00:29:40,650 --> 00:29:46,250
instruction ุชุณุชุญุฏุซ ููŠู‡ุง temporary ูˆ ุงู„ temporary
356
00:29:46,250 --> 00:29:51,390
ู‡ุฐุง ู‡ูˆ ุงู„ู„ู‰ ุงุชุฎูŠู„ ุงู†ุช ุงู„ุขู† ู‡ุชูƒูˆู† ุนู…ู„ุชู‡ E1 ุจุณุงูˆูŠ
357
00:29:51,390 --> 00:29:52,250
float
358
00:29:56,910 --> 00:30:06,310
E1 E1.type ู„ุง ุฃุนุฑู ู…ุง ู‡ูˆ ุงู„ temporary ุชุจุนู‡ ู‡ุฐุง ู‡ุฐุง
359
00:30:06,310 --> 00:30:13,130
ููŠ ุงู„ุขุฎุฑ ู‡ูˆ ุงู„ temporary ุตุญุŸ ู„ุฃู†ูƒ ุณุชุนุทูŠู†ูŠ E1 ู‡ุฐุง
360
00:30:13,130 --> 00:30:19,410
ุงู„ E1 ุณุชุดุชุบู„ ู‡ุฐุง ู„ู† ูŠุนู…ู„ ุฃูŠ ุดูŠุก ู„ุฃู†ู†ูŠ ุฃุณุชุฎุฏู… E2
361
00:30:19,410 --> 00:30:22,450
.type E2 ู‡ูˆ ุงู„ float ุฃู‚ูˆู„ ุฃู†ู‡ ุณุฃูˆุณู ู…ู† float ุฅู„ู‰
362
00:30:22,450 --> 00:30:29,580
floatุงู„ุงู† ุจุนุฏ ู‡ูƒุฐุง ู‡ุฐุง ุงู„ู…ู‡ู… ุงู„ู„ูŠ ู‡ูˆ ุงู†ู‡ ุจู…ุง ุงู†
363
00:30:29,580 --> 00:30:33,100
ู…ุณุชุญูŠู„ุงุชู†ุง ู‡ุฐุง ุงู†ุง ุงู„ุงู† ู‚ุจู„ ู…ุง ุงุนู…ู„ ุนู…ู„ูŠุฉ ุงู„ุฌุงู…ุนุฉ
364
00:30:33,100 --> 00:30:36,200
ุงู†ุง ุจุฏูŠ ุงุนู…ู„ ุนู…ู„ูŠุฉ ุงู„ุฌุงู…ุนุฉ ุจุฏูŠ ุงู‚ูˆู„ ุงู†ู‡ ุงู„ E dot
365
00:30:36,200 --> 00:30:40,680
address ุงู„ู„ูŠ ู‡ูˆ ู‡ูŠุจู‚ู‰ temporary ุจุฑุถู‡ ุฏู‡ ุณุงูˆูŠ ุงูŠุด
366
00:30:40,680 --> 00:30:47,700
lot E1 ุฏู‡ ู‡ูˆ ุงู„ A1 ุงู‡ ู‡ุฐุง ู‡ูŠุฌูŠ T1 ู‡ู†ุง ูˆ ุงู„ุช ุง ูˆ
367
00:30:47,700 --> 00:30:51,340
ุจุนุฏูŠู† ุฒุงุฆุฏ ูˆ E2 ู‡ุฐู‡ ู‡ุชุจู‚ู‰ E2 dot address
368
00:30:54,160 --> 00:31:00,460
ุจู…ุนู†ู‰ ุขุฎุฑ ู‡ู†ูƒูˆู† ุนู…ู„ู†ุง ุงู„ุชุญูˆูŠู„ ุฎุฏู†ุง ู†ุชุฌ ุงู„ุชุญูˆูŠู„ ููŠ
369
00:31:00,460 --> 00:31:03,960
temporary ุงู„ temporary ู‡ุฐุง ู‡ูˆ ุงู„ู„ูŠ ู‡ุฏุฎู„ ููŠ ุนู…ู„ูŠุฉ
370
00:31:03,960 --> 00:31:11,740
ุงู„ุฌุงู…ุนุฉ code ุจุณูŠุท elegant ูŠุนู†ูŠ ู…ุนู…ูˆู„ ุจุดูƒู„ ู…ุฑุชุจ ูˆ
371
00:31:11,740 --> 00:31:18,720
ุจูŠู‚ุฏุฑ ุงู„ุบุฑุถ ูˆ ุจู‚ุฏุฑ ุงูŠุด ุงุนู…ู„ู‡ ุนุฏุฉ ุงุณุชุฎุฏุงู…
372
00:31:26,560 --> 00:31:32,060
Okay ูุงุญู†ุง ุฏู‡ ุนู…ู„ูŠุง ุนู…ู„ูŠุง ููŠ section 6 5 ุจู†ูƒูˆู†
373
00:31:32,060 --> 00:31:37,360
ุดูˆูู†ุง ูƒูŠู ุงู„ compiler ุจูŠุนู…ู„ ุงู„ checking ูˆ ุงู„
374
00:31:37,360 --> 00:31:41,480
conversion ุจูŠุนู…ู„ checking ุจู…ุนู†ู‰ ุงู†ู‡ ูŠูุญุต ุงู„ type
375
00:31:41,480 --> 00:31:48,240
ูŠุชุฃูƒุฏ ุงู† ุงู„ types ุนู„ู‰ ู…ุง ูŠุฌุจ ุงู† ุชูƒูˆู† ุนู„ูŠู‡ ูˆ ุงุฐุง ู„ู…
376
00:31:48,240 --> 00:31:51,400
ุชูƒู† ุนู„ู‰ ู…ุง ูŠุฌุจ ุงู† ุชูƒูˆู† ุนู„ูŠู‡ ุจูŠุนู…ู„ conversion okay
377
00:31:51,400 --> 00:32:02,050
ุนู„ุดุงู† ุงูŠู‡ ุชูƒูˆู†ุนุดุงู† ูŠู…ุดูŠ ุงู„ compilation ูู‡ุฐุง ุงู„ุงู†
378
00:32:02,050 --> 00:32:05,550
ุงู„ู†ู‚ุทุฉ ุงู„ุชุงู†ูŠุฉ ุงูˆ ุงู„ section ุงู„ุชุงู†ูŠุฉ ุงู„ู„ูŠ ู‡ูˆ ุงู„
379
00:32:05,550 --> 00:32:10,570
translation ุงู„ู„ูŠ ุนู„ุงู‚ุฉ ุจุงู„ control flow statements
380
00:32:10,570 --> 00:32:17,170
control flow statements ุจุชุจู‚ู‰ ุงุดูŠ ุฒูŠ
381
00:32:39,690 --> 00:32:44,830
ุจุชูƒูˆู† with else ุฃูˆ ุจุฏูˆู† else ูˆ loop ุงู„ loop while
382
00:32:44,830 --> 00:32:49,170
ูˆุงู„ repeat ูˆ ุงู„ .. ุฅูŠุด ู…ุงูƒุงู† ููŠ ุงู„ุฃุฎุฑ ููŠ ูƒู„ ุงู„ุญู„ู‚ุฉ
383
00:32:49,170 --> 00:32:55,490
ุณูˆุงุก ุงู„ F ูˆ ุงู„ loop ููŠ ูŠุฏูŠ condition Boolean
384
00:32:55,490 --> 00:33:03,120
expression ุฅุฐุง ุชุญู‚ู‚ ุจู…ุนู†ู‰ ุฅุฐุง ู‚ูŠู…ุชู‡ ูƒุงู†ุช trueุณูŠุญุตู„
385
00:33:03,120 --> 00:33:06,600
ููŠู‡ action ู…ุนูŠู† ูˆุฅุฐุง ู„ู… ูŠุชุญู‚ู‚ ุณูŠุญุตู„ ููŠู‡ action
386
00:33:06,600 --> 00:33:11,300
ู…ุฎุชู„ู ู…ู† ู‡ู†ุง ุงู„ control flow ูŠุนู†ูŠ ุงู„ุชุญูƒู… ููŠ ุชุฏูู‚
387
00:33:11,300 --> 00:33:17,260
ุงู„ code ูุฃุญู†ุง ุงู„ุขู† ุฃุตุจุญ ุชุฑุฌู…ุฉ ุงู„ flow of control
388
00:33:17,260 --> 00:33:21,840
statements ุฌุฒุฆูŠุฉ ุชุงู†ูŠุฉ ุฌุฒุฆูŠุฉ ู…ุชุนู„ู‚ุฉ ุจุชุฑุฌู…ุฉ ุงู„
389
00:33:21,840 --> 00:33:25,940
statements ุงู„ู„ูŠ ุจุฏูˆ ูŠู†ุชู‚ู„ ุงู„ูŠู‡ุง ุงู„ execution
390
00:33:25,940 --> 00:33:31,820
ูˆุฌุฒุฆูŠุฉ ู‚ุจู„ู‡ุง ุงู„ู„ูŠ ู‡ูŠ ุชุฑุฌู…ุฉุงู„ู€ Boolean Expression
391
00:33:31,820 --> 00:33:35,180
ุงู„ู€ Boolean Expression ู‡ูŠ ุฃุฏุงุฉ ููŠู‡ุง ุฐุงุช ูˆ ู‡ูˆ
392
00:33:35,180 --> 00:33:38,920
expression ุจุฏู‘ูˆุง ูŠุนู…ู„ูˆุง translation ุงุญู†ุง ุดูˆูู†ุง
393
00:33:38,920 --> 00:33:40,860
expressions ู‚ุจู„ ุงู„ุญูƒุงูŠุฉ ุจุณ ูƒุงู†ุช mathematical
394
00:33:40,860 --> 00:33:44,820
expressions ูˆู„ุง ู„ุฃ ุงู„ู„ูŠ ููŠู‡ุง ุนู„ุงู…ุฉ ููŠู‡ุง ุฌู…ุน ูˆุถุน ูˆ
395
00:33:44,820 --> 00:33:48,320
ุทุฑุญ ูˆ .. ุงู†ู…ุง Boolean expressions ุงู„ู€ Boolean
396
00:33:48,320 --> 00:33:50,840
expressions ู…ุงุดูˆูู†ุงุด ุฃุตู„ุง ุงู„ grammar ุชุจุนู‡ุง ูƒูŠู ุงู„
397
00:33:50,840 --> 00:33:52,520
grammar ุชุจุน ุงู„ Boolean expressionุŸ
398
00:34:01,490 --> 00:34:06,530
ู…ู…ูƒู† ูŠุจู‚ู‰ or ูˆู‡ูˆ ุนุจุงุฑุฉ ุนู† expression ูŠุชูƒูˆู† ู…ู† this
399
00:34:06,530 --> 00:34:11,710
junction ู„ two other expressions ุงูˆ conjunction ู„
400
00:34:11,710 --> 00:34:15,830
two other expressions ุงูˆ negation ู„ one expression
401
00:34:15,830 --> 00:34:20,070
ุงูˆ ูŠุจู‚ู‰ ููŠู‡ ุนุจุงุฑุฉ ุนู† relational operator ู…ุง ุจูŠู†
402
00:34:20,070 --> 00:34:25,090
two expressions ุงู„ two expressions ู‡ุฏูˆู„ุฉ
403
00:34:25,090 --> 00:34:28,810
mathematical expressions ูŠุนู†ูŠ ู‡ุฐุง expression
404
00:34:29,380 --> 00:34:34,700
mathematical ู‚ูŠู…ุชู‡ ูˆู‡ุฐุง ู‚ูŠู…ุชู‡ ู…ู† ุงู„ู„ูŠ ู‡ูˆ ุฃูƒุจุฑ ุฃูˆ
405
00:34:34,700 --> 00:34:41,060
ูŠุณุงูˆูŠ ุฃูˆ ุฃู‚ู„ ุนู„ู‰ ุฃุณุงุณ ุงู„ boolean value ุงูˆ ุชุจู‚ู‰
406
00:34:41,060 --> 00:34:48,040
ูƒู„ู…ุฉ true ูƒ token ุงูˆ ูƒู„ู…ุฉ false ุทูŠุจ ููŠ ู‡ุฐู‡ ุงู„ุญู„ู‚ุงุช
407
00:34:48,040 --> 00:34:55,340
ุงู„ู…ุฎุชู„ูุฉ ูƒูŠู ูŠู…ูƒู† ุงู„ translating ุงู„ boolean
408
00:34:55,340 --> 00:34:59,490
expressionู„ุงุญุธ ู…ุฑุฉ ุชุงู†ูŠุฉ ู„ุงู† ุงู†ุง ู‚ู„ุช ุงู†ู‡ ุงู†ุง ุนุดุงู†
409
00:34:59,490 --> 00:35:02,830
ุงุนู…ู„ ุงู„ translation ู„ู„ control flow statement ุงู„ู„ูŠ
410
00:35:02,830 --> 00:35:09,230
ู‡ูŠ ุงู„ F ูƒู„ู‡ุง ูˆ ู„ู„ Y ูƒู„ู‡ุง ุงุฒู… ุงุด ูŠู†ุนู…ู„ translation
411
00:35:09,230 --> 00:35:13,590
ู„ู„ boolean expression ูˆ ุงู„ statement ูˆ ูŠุชุฑูƒุจ ู‡ุฐุง
412
00:35:13,590 --> 00:35:19,570
ูƒู„ู‡ ููŠ ุงูŠู‡ุŸ ููŠ ู‡ูŠูƒู„ูŠุฉ ู…ุน ุจุนุถ ุงู„ู„ูŠ ุชุนุจุฑ ุนู† ุงู„
413
00:35:19,570 --> 00:35:27,860
statement ุจุฑุฌุน ุฑุฌูˆุน ุงู†ุง ุงุฐุง ููŠ ุญุงู„ุฉF Statement
414
00:35:27,860 --> 00:35:33,860
ุจุฏูˆู† else ูŠุฃุชูŠ ูƒูˆุฏ ุงู„ู€ Boolean expression ููŠ ุงู„ุฃูˆู„
415
00:35:33,860 --> 00:35:37,520
ูˆ
416
00:35:37,520 --> 00:35:45,280
ุจุนุฏู‡ุง ูƒูˆุฏ ุงู„ statement ู„ุฃู† ู‡ุฐุง ุงู„ statement ู…ุซู„ ุงู„
417
00:35:45,280 --> 00:35:50,440
statement ุงู„ุฃุฎุฑู‰ ุงู„ุชูŠ ุฑุฃูŠู†ุง ุฃู†ุซู‰ ู…ุฎุชู„ูุฉ ููŠู‡ุงุจุณ ุงู„ู€
418
00:35:50,440 --> 00:35:54,400
Boolean expression ู‡ุฐุง ุจุฏูŠ ุจุฑุถู‡ ูƒู…ุงู† ุจุฏูŠ two
419
00:35:54,400 --> 00:35:57,900
attributes ู…ุนุงู‡ ูˆุงุญุฏุฉ dot true ูˆุงุญุฏุฉ dot false
420
00:35:57,900 --> 00:36:06,280
ุนุดุงู† ุฃุญุท ููŠู‡ู… pointers ุนู„ู‰ ูˆูŠู† ุจุฏู‡ ูŠู†ุชู‚ู„ ุงู„ุชู†ููŠุฐ
421
00:36:06,280 --> 00:36:10,360
ุฅุฐุง ูƒุงู† ุงู„ Boolean expression true ูˆ ูˆูŠู† ุจุฏู‡ ูŠู†ุชู‚ู„
422
00:36:10,360 --> 00:36:13,600
ุฅุฐุง ูƒุงู† ุงู„ Boolean expression false ุตุญ ูˆู„ุง ู„ุฃุŸ
423
00:36:13,600 --> 00:36:18,140
ุชู…ุงู…ุŸ ูŠุนู†ูŠ ุชู†ุณุงุด ู‡ุฐุง ุงู„ Boolean expressionุนุจุงุฑุฉ ุนู†
424
00:36:18,140 --> 00:36:23,240
expression ูˆุฅูŠู‡ ุงู„ุชุฑุฌู…ุฉ ุชุจุนุชู‡ ูˆุฅูŠู‡ ุงู„ code ุงู„ code
425
00:36:23,240 --> 00:36:28,220
ุงู„ู„ูŠ ู‡ูˆ ู…ุฌู…ูˆุนุฉ ุงู„ three address instructions ูููŠู‡ุง
426
00:36:28,220 --> 00:36:35,900
ู‡ู†ุง ุงู„ code ุงู„ู„ูŠ ู‡ูˆ ุงู„ุชุฑุฌู…ุฉ ุชุจุน ุงู„ condition ุงู„
427
00:36:35,900 --> 00:36:41,340
boolean condition ู‡ุฐุง ุงู„ code ู…ุฎุฒู† ููŠ ุงู„ dot code
428
00:36:41,340 --> 00:36:47,300
attribute ุชุจุน ุงู„ b ุงู„ b ุฃูŠุถุง ูƒู…ุงู† ู…ุด ู…ุจู‚ูˆู„ุงู„ู€ B
429
00:36:47,300 --> 00:36:52,900
.true attribute ูˆุงู„ู€ B.false attribute ู‡ุฐูˆู„ุง ุงู„
430
00:36:52,900 --> 00:36:57,480
two attributes ู‡ุฐูˆู„ุง pointers ู‡ุฐู‡ attribute ุชุญุชูˆูŠ
431
00:36:57,480 --> 00:37:00,600
ุนู„ู‰ text ุงู„ text ู‡ูˆ ุงู„ translation ุชุจุน ุงู„ bullying
432
00:37:00,600 --> 00:37:04,380
expression ู‡ุฐูˆู„ุง attributes ุชุจุน ุนู† pointers ูˆุงุญุฏ
433
00:37:04,380 --> 00:37:08,900
ู…ู†ู‡ู… ูŠุดูŠุฑ ุฅู„ู‰ ูˆูŠู† ุจุฏู‡ ูŠุจุฏุฃ ุงู„ execution ุฅุฐุง ูƒุงู† ุงู„
434
00:37:08,900 --> 00:37:13,480
condition true ูˆูŠู† ู‡ูŠุจุฏุฃ ู‡ู†ุง ูŠุนู†ูŠ ู‡ุฐู‡ ุงู„ dot true
435
00:37:13,480 --> 00:37:17,870
ุจุชุดูŠุฑ ุฅู„ู‰ู‡ู†ุง ุงูŠุด ู‡ูŠ ู‡ู†ุง ุงู„ู„ูŠ ู‡ูˆ ุจุฏุงูŠุฉ ุงู„ code ุชุจุน
436
00:37:17,870 --> 00:37:22,430
ุงู„ statement ูุฅู† ุงุญู†ุง ู‚ุงุนุฏูŠู† ู†ู‚ูˆู„ if if if ุจูŠ then
437
00:37:22,430 --> 00:37:29,370
ุงู„ statement ุตุญุŸ ูˆ ุงู„ false ุจุฏูŠุดูŠุฑ ุนู„ู‰ ุงูˆู„
438
00:37:29,370 --> 00:37:35,810
statement ุจุนุฏ ุงูˆู„ line ุงูˆ ุงูˆู„ instruction ุจุนุฏ ุงู„
439
00:37:35,810 --> 00:37:41,210
yes ุจุนุฏ ุงู„ statement ุจุงู„ุธุจุท okay ูุงู†ุง ู‡ุงูŠ ุงู„ู„ูŠ
440
00:37:41,210 --> 00:37:47,050
ุจุฐุจู†ูŠ ูŠูˆู… ุงู†ุง ุจุนู…ู„Translation ู„ู€ Statement ุจู‡ุฐู‡
441
00:37:47,050 --> 00:37:52,530
ุงู„ุตูŠุบุฉ FBS ู…ุนู†ุงุชู‡ ุฃู†ู†ูŠ ุฃูƒูˆู‘ู† ุงู„ู€ Translation
442
00:37:52,530 --> 00:37:59,250
ุงู„ุฅุฌู…ุงู„ูŠ ู„ู€ S ุจู‡ุฐู‡ ุงู„ู‡ูŠูƒู„ูŠุฉ ุฃูˆู„ุงู‹ ุงู„ู€ Translation
443
00:37:59,250 --> 00:38:05,150
ู„ู€ Condition ุฃู„ุญู‚ู‡ุง ุจุงู„ู€ Translation ู„ู€ Statement
444
00:38:05,150 --> 00:38:08,830
ูˆู„ูƒู† ุจุฑุถู‡ ุฃุฑูŠุฏ ุฃู† ุฃูƒูˆู† ุนุงู…ู„ .. ุฃุนุทูŠ Value ู„ู„ู€
445
00:38:08,830 --> 00:38:10,850
Pointers ุงู„ู€ Dot ุตุญูŠุญ ูˆุงู„ู€ Dot ุฎุงุทุฆ
446
00:38:13,750 --> 00:38:19,450
ุจู†ุญูƒูŠ ุนู† ู‡ุฐู‡ ุงู„ุตูŠุฑุฉ ููŠ ุนู†ุฏูŠ else ู…ุนู†ุงู‡ ุฐู„ูƒ ุจุนู…ู„
447
00:38:19,450 --> 00:38:23,630
ู†ูุณ ุงู„ุดูŠุก ุจุณ ุงู†ุง ู‡ู†ุง ููŠ ุนู†ุฏูŠ two statements S1 ูˆ
448
00:38:23,630 --> 00:38:28,690
S2 S1 ู‡ูŠ ุงู„ู„ูŠ ุจุชุชู†ูุณ ุฅุฐุง ุงู„ condition ู‡ุฏุง true
449
00:38:28,690 --> 00:38:35,090
ูˆู„ูƒู† ุฅุฐุง false ุจุชุชู†ูุณ S2 ุงุจุฌูŠ ุฃู†ุง ุงู„ุขู† ุงุชุถุจุท ุงู„
450
00:38:35,090 --> 00:38:43,540
true ุชุจุน ุงู„ B ุจุชุดูŠุฑ ุฅู„ู‰ ุฅูŠุดุŸ ุตุญุŸุงู„ู‰ ุงู„ุงูˆู„ line ููŠ
451
00:38:43,540 --> 00:38:50,940
ุงู„ S1 code S1.code ูˆ ู„ู…ุง ูŠู†ุชู‡ูŠ ู‡ุฐุง ุงู„ code ุนู„ู‰ ุทูˆู„
452
00:38:50,940 --> 00:38:53,940
ุณุชุนู…ู„ jump ูˆุงู†ุง ู…ุบู…ุท ุนู„ู‰ ู…ูŠู†ุŸ
453
00:39:21,170 --> 00:39:24,470
ู‡ุฐู‡ ู‡ูŠ ุงู„ู‡ูŠูƒู„ูŠุฉ ุงู„ู„ู‰ ุจุฏู‰ ูŠุนู…ู„ู‡ุง ุงู„ compiler ุงู„ู„ู‰
454
00:39:24,470 --> 00:39:28,370
ุจุฏู‰ ูŠุนู…ู„ู‡ุง ุงู„ compiler ุฅูŠู‡ ุฏู‡ ููŠ ุงู„ุญุงู„ุฉ ุงู„ุชุงู„ูŠุฉ ููŠ
455
00:39:28,370 --> 00:39:34,130
ุญุงู„ุฉ ูˆุฌูˆุฏ ุงู„ else ููŠ ุญุงู„ุฉ loop ู…ุด if ููŠ ุญุงู„ุฉ loop
456
00:39:34,130 --> 00:39:38,170
ุฒูŠ ุงู„ while loop ููŠู‡ุง ุงู†ุฏูŠ ุงู†ุง ุงู„ condition ูˆููŠู‡ุง
457
00:39:38,170 --> 00:39:43,410
ุงู†ุฏูŠ statement ุจุฏู‡ ุชู†ูุฐ ุจุดูƒู„ ู…ุชูƒุฑุฑ ูู‡ูŠ ุจุฏูŠ ูŠุฌูŠ ุงู„
458
00:39:43,410 --> 00:39:50,250
code ุงู„ code ุชุจุน ุงู„ boolean expression ุจุนุฏูŠู† ุงู„
459
00:39:50,250 --> 00:39:56,600
statementุจุนุฏูŠู† ู‡ู†ุง go to begin which ู‡ูŠ ุฃูˆู„
460
00:39:56,600 --> 00:40:02,240
instruction ููŠ ุงู„ู€ boolean ูุญุต ุงู„ุดุฑุท ุจุงู„ุธุจุท ุนุดุงู†
461
00:40:02,240 --> 00:40:05,800
ู†ุฑุฌุน ู†ูุญุต ุงู„ุดุฑุท ุฅู„ุง ู„ูˆ ุงู„ุดุฑุท ู‡ุฐุง ู…ุด ู…ุชุญู‚ู‚ ุงู„ dot
462
00:40:05,800 --> 00:40:11,480
false ุจุชุดุงุฑุน ุนู„ูŠู‡ ุนู„ู‰ ุฃูˆู„ statement ุจุฑู‡ ุฃูˆู„
463
00:40:11,480 --> 00:40:13,700
instruction ุจุฑู‡ ุงู„ statement ุจุฑู‡ ุงู„ while
464
00:40:13,700 --> 00:40:18,140
statement ูƒู„ู‡ุง ู‡ุฐู‡ ุงู„ู‡ุงูŠูƒุงู…ูŠุฉ ุงู„ุขู† ุนุดุงู† ุงุญู†ุง ุงู„
465
00:40:18,140 --> 00:40:23,120
compiler ูŠุนู…ู„ู‡ุง ู„ุงุฒู… ููŠ ุงู„ุฃูˆู„ูŠูƒูˆู† ุนุงู…ู„ ุงู„ dot code
466
00:40:23,120 --> 00:40:27,380
ุชุจุน ุงู„ B ูˆ ุจูŠุฌูŠ ู‡ุฐุง ุงู„ dot code ูƒู„ู‡ ููŠ ู…ูˆู‚ุนูˆู†
467
00:40:27,380 --> 00:40:32,000
ุงู„ุนุฑุงุจ ููŠุด ููŠ ุงู„ุตูŠุบุฉ ุงู„ูƒุจูŠุฑุฉ ุงู„ู„ูŠ ู‡ูŠ ุงู„ statement
468
00:40:32,000 --> 00:40:37,640
ุงู„ูƒู„ูŠุฉ ูุงุญู†ุง ุงู„ุขู† ุจุฏู†ุง ู†ุทู„ุน ุนู„ู‰ ุงู„ B ูƒูŠู ุงู„
469
00:40:37,640 --> 00:40:43,520
translation ุชุจุนู‡ุง ุจูŠุชู… ู…ุงุดูŠ ุนุดุงู† ุจุนุฏูŠู† ุฎู„ุงุต ู‡ุฐุง
470
00:40:43,520 --> 00:40:47,700
ูƒู„ู‡ ู†ุฑุญู„ู‡ ู…ุนุงู†ุง ุนู„ู‰ ุงู„ translation ุชุจุน ุงู„
471
00:40:47,700 --> 00:40:49,640
statement ุงู„ูƒู„ูŠุฉ
472
00:40:52,880 --> 00:40:59,340
ู‡ุฐุง ุงู„ููŠุฌูˆุฑ 6.37 ูˆู‡ูˆ generating free address code
473
00:40:59,340 --> 00:41:06,340
for Boolean expressions ุงู„ู„ูŠ ุฌุงุจู„ู‡ ุงู„ู„ูŠ ุงู†ุง ูู„ุฏุชู‡
474
00:41:06,340 --> 00:41:10,720
ุจุณ ู‡ุฑุฌุนู„ู‡ syntax derivative definition ุจุฑุถู‡ for
475
00:41:10,720 --> 00:41:16,000
generating code ู„ูƒู† for flow of control statements
476
00:41:16,000 --> 00:41:19,660
flow of control statements ุจุชุญุชูˆูŠ ุนู„ู‰ Boolean
477
00:41:19,660 --> 00:41:28,050
expressionsูŠุนู†ูŠ ุจุฑูˆุญ ุนู„ู‰ ุณุจุนุฉ ูˆ ุชู„ุงุชูŠู† ุทุจุนุง
478
00:41:28,050 --> 00:41:33,370
ู„ุฃู†ู‡ ุนุจุงุฑุฉ ุนู† syntax directed definition ูู‡ูˆ ููŠู‡
479
00:41:33,370 --> 00:41:37,830
ุฃู†ู‡ ู‡ู†ุง ุงู„ productions ูˆ ู„ูƒู„ production ุดูˆ ู‡ูŠ ุงู„
480
00:41:37,830 --> 00:41:41,990
rulesุŸ ุงูŠู‡ ุงู„ู„ูŠ ุจูŠุชู†ูุณุŸ
481
00:41:41,990 --> 00:41:46,170
ุงูŠู‡ ู„ู‡ุงุŸ okay ู„ูˆ ุฃู†ุชูŠ ุงู„ boolean expression ุงุญู†ุง
482
00:41:46,170 --> 00:41:49,430
ู‚ู„ู†ุง ู‡ุฐู‡ ุญุงู„ุงุช ุงู„ู„ูŠ ู…ู…ูƒู† ู†ุชูˆู‚ุน ุงู„ boolean
483
00:41:49,430 --> 00:41:55,130
expression ูŠุจู‚ู‰ ุจู†ูŠุชู‡ู…ู…ูƒู† ูŠูƒูˆู† bonus ุนุจุงุฑุฉ ุนู† or
484
00:41:55,130 --> 00:41:58,930
ู„ุชูˆ expressions ูˆู…ู…ูƒู† ูŠุจู‚ู‰ and ูˆู…ู…ูƒู† ูŠุจู‚ู‰ not ู„
485
00:41:58,930 --> 00:42:02,190
one expression ูˆู…ู…ูƒู† ูŠุจู‚ู‰ relational operator ู…ุง
486
00:42:02,190 --> 00:42:05,310
ุจูŠู† two mathematical expressions ุตุญ ูˆู…ู…ูƒู† ูŠุจู‚ู‰
487
00:42:05,310 --> 00:42:12,490
true ุงูˆ false ุทุจุนุง ู…ู…ูƒู† ูŠุจู‚ู‰ ghost ุจุณ
488
00:42:12,490 --> 00:42:16,720
ู‡ู†ุง ู…ุง ุงู†ุชูˆุง ุงุญู†ุง ู…ุด ู‡ู†ุนู…ู„ ุงูŠ ุญุงุฌุฉู‡ูŠุจู‚ู‰ ุงู„
489
00:42:16,720 --> 00:42:20,460
attributes ุชุจู‚ู‰ ุจูŠู‡ ู‡ูŠ ุงู„ dot force ุชุจู‚ู‰ ู‡ูˆ ู‡ูˆ ุงู„
490
00:42:20,460 --> 00:42:23,580
dot true ุชุจู‚ู‰ ู‡ูˆ ู‡ูˆ ูˆ ุงู„ dot code ุชุจู‚ู‰ ู‡ูˆ ู‡ูˆ ู…ุงููŠุด
491
00:42:23,580 --> 00:42:28,940
ุฃุดูŠุงุก ุญู‚ูŠู‚ุฉ ูŠุฒูŠุฏ ุฃูˆ ูŠู†ู‚ุต ุนู„ูŠู‡ ุนุดุงู† ุฐู„ูƒ ู…ุด .. ู…ุด
492
00:42:28,940 --> 00:42:35,040
ูˆุฑุฏ ู‡ู†ุง okay ูู„ูˆ ูƒุงู† ุนู†ุฏูŠ ู‡ูˆ ุงู„ expression ู…ุฑูƒุจ ู…ู†
493
00:42:35,040 --> 00:42:41,280
two expressions ูˆุจูŠู†ู‡ู… or okay
494
00:42:41,280 --> 00:42:44,240
ุงุญู†ุง ููŠ ุงู„ู‚ู„ุงุตุฉ
495
00:42:46,150 --> 00:42:57,470
ุฅู†ู‡ ุฃู†ุง ุจุฏูŠ ุขุฌูŠ ุฃู‚ูˆู„ ุงู„ .. ุงู„ B1 ุจู†ุญุท ุงู„ code ุชุจุนู‡
496
00:42:57,470 --> 00:43:03,630
ูŠู„ูŠู‡
497
00:43:03,630 --> 00:43:09,430
ุฅูŠุด ุงู„ code ุชุจุน B2 ุจุณ
498
00:43:09,430 --> 00:43:13,890
ุจูŠู†ู‡ู… ุฅูŠุด ููŠ ู‡ุฐุง
499
00:43:13,890 --> 00:43:14,270
label
500
00:43:24,860 --> 00:43:30,020
ู‡ุฐุง ุงู„ label ุดูˆ ูˆุธูŠูุชู‡ ูˆุธูŠูุชู‡ ุงู†ู‡ ุงู†ุง ู„ุงู†ู‡ุง or
501
00:43:30,020 --> 00:43:38,560
ู„ุงู†ู‡ุง or ููŠูุชุฑุถ ุงู† ุงู†ุง ุจูุญุต ุจุงู„ุธุจุท ุจูุญุต b1 ุจุณ ูƒุงู†
502
00:43:38,560 --> 00:43:44,780
true ุฎู„ุงุต ุจู‚ุฏุฑ ุงู‚ูุฒ ูˆู…ุง ุงูƒู…ู„ุด ู…ุงู†ูู„ุด ู…ุงู†ูู„ุด ุงู„
503
00:43:44,780 --> 00:43:48,420
code ู‡ุฐุง ุจุณ ุจุดูˆูุด b2 ุงู„ุง ู„ูˆ ูƒู… ุจูŠ ูˆุงุญุฏ false ุงูŠูˆุฉ
504
00:43:48,420 --> 00:43:55,120
ุจุณ ุงุฐุง ุจูŠ ูˆุงุญุฏ false ุจูƒู…ู„ูู‡ุฐุง ุงู„ label b1.false
505
00:43:55,120 --> 00:44:03,280
ุฅุฐุง ู‡ูˆ .. ู†ุนู… ุฅุฐุง ู‡ูˆ b1.false ุฅุฐุง b1 ูƒุงู† false
506
00:44:03,280 --> 00:44:09,920
ู…ุงุนุฑู ุฃู‚ูˆู„ูƒ b1.false ูŠุณุงูˆูŠ new label okay new
507
00:44:09,920 --> 00:44:12,820
label .. new label ู‡ุฐุง ูˆูŠู† ุจุฏู‡ ูŠุฑูˆุญุŸ
508
00:44:25,230 --> 00:44:29,650
ูุงู†ุง ุงู„ุขู† ุงู„ู„ูŠ ู‡ูŠุญุตู„ ุงู†ูƒ ุงู†ูƒ ุงู†ุช ู‡ูŠุจู‚ู‰ ุงู„ code
509
00:44:29,650 --> 00:44:35,790
ุชุจู‚ู‰ D1 D1 ููŠ
510
00:44:35,790 --> 00:44:46,050
ุงุฎุฑ ููŠ ุงุฎุฑ statement ู„ู‡ุง if ู†ูุชุฑุถ ุงู†ู‡ ุงู„ value
511
00:44:46,050 --> 00:44:54,410
ุงู„ู†ู‡ุงุฆูŠ ุชุจู‚ู‰ D1 ุตุฏูุฉ temporary ูƒู†ู‚ู…ุฉ 7 if T7
512
00:44:58,290 --> 00:45:09,290
is true ู‡ูŠู‚ูุฒ ุนู„ู‰ ุจุฑู‡ ุนู„ู‰ ุทูˆู„ ู…ุธุจูˆุท ุงุฐุง T7 false F
513
00:45:09,290 --> 00:45:19,790
false ู‡ุง ุงูƒุชุจ F false T7 go to P1
514
00:45:32,530 --> 00:45:39,470
ู‡ุฐู‡ ุงู„ู‚ูุฒุฉ ู…ูˆุฌูˆุฏุฉ ููŠ ูƒูˆุฏ B1 ู…ูˆุฌูˆุฏุฉ
515
00:45:39,470 --> 00:45:43,370
ููŠ ูƒูˆุฏ ุจูŠ ูˆุงุญุฏ ูŠุนู†ูŠ ุจูŠ ูˆุงุญุฏ ุชุฑุฌู…ุฉ ุชุจุนุชู‡ ุงู†ู‡ ุฅุฐุง ู‡ูˆ
516
00:45:43,370 --> 00:45:46,930
ููˆู‚ ุถู…ู† ุงู„ุชุฑุฌู…ุฉ ุชุจุนุชู‡ ุถู…ู† ุงู„ instructions ุชุจุนุชู‡ู…
517
00:45:46,930 --> 00:45:51,670
ููŠ statement ููŠ ุงู„ุขุฎุฑ ุจุฏู‡ ุชู‚ูˆู„ ุงู† ู‡ูˆ ุฅุฐุง ุงู†ู‡ ุตุจ ุงู„
518
00:45:51,670 --> 00:45:56,370
value ูƒู„ู‡ ููŠ ุงู„ุงุฎุฑ ููŠ T7 ุจุฏู‡ ู†ูุญุต T7 ุฅุฐุง T7 true
519
00:45:58,180 --> 00:46:03,220
ุจุฏู†ุง ู†ู‚ูุฒ ุฅู„ูŠุด ุฅู„ูŠ ุจุฑุง ุฅุฐุง false ุจุฏู†ุง ู†ุฑูˆุญ ุนู„ู‰ ูˆูŠู†
520
00:46:03,220 --> 00:46:09,840
ุงู„ shop ุงู„ุชุงู†ูŠ ูˆ ุฃุญุณ ุฃู† ู‡ุฐุง ุงู„ statement ุจูŠูˆุญุฏุฉ
521
00:46:09,840 --> 00:46:17,220
true ุจูŠูˆุญุฏุฉ ูˆูŠู† ุจุชูˆุฏูŠู†ูŠ ูŠุนู†ูŠ ู„ูˆ ู‡ุฐุง ู„ูˆ T7 ุงู„ true
522
00:46:17,220 --> 00:46:23,440
ูŠุนู†ูŠ ุจูŠู‡ ูƒู„ู‡ุง true ุจุนุฏ ุฐู„ูƒ ุฎู„ุตู†ุง ุจุฏู†ุง ู†ู‚ูุฒ ุจุฑุง ูˆูŠู†
523
00:46:23,440 --> 00:46:28,320
ุจุฑุงุŸ ุจุฑุง ุงู„ู„ูŠ ู‡ูŠ ุฃูˆู„ statement ุฃู†ุง ูƒู„ู‡ ุจูŠู‡ุฃูˆู„
524
00:46:28,320 --> 00:46:35,840
statement ุจุฏุฃ ุชุชู†ูุฐ ุจุนุฏ ุฅุฐุง ูƒุงู† ู‡ุฐุง true ู ุงู„ dot
525
00:46:35,840 --> 00:46:41,780
true ุชุจุน ุจูŠู‡ ูƒู„ู‡ ู‡ูŠ ุงู„ู„ูŠ ุจุชุชุฎุฒู† ูƒ dot true ู„ ุจูŠู‡
526
00:46:41,780 --> 00:46:50,820
ูˆุงุญุฏ ุงู†ุช ุฐุงูƒุฑ ุงู† ู‡ุฐุง ู‡ูŠูŠุฌูŠ ุงู„ ุจูŠู‡ ุถู…ู† if statement
527
00:46:50,820 --> 00:46:57,500
ุงูˆ while statementูุงู„ู€ B ู‡ุฐุง ุงู„ู€ dot true ุชุจุน ุฅุฐุง
528
00:46:57,500 --> 00:47:02,140
ู‡ูˆ true ุณูŠู†ุชู‚ู„ ุงู„ execution ู‡ู†ุง ูˆู‡ุฐุง ุงู„ู„ูŠ ุจุฏูŠ ุฃู†
529
00:47:02,140 --> 00:47:05,820
ูŠู†ุชู‚ู„ ุงู„ execution ุฃูŠุถุง ู‡ู†ุง ุฅุฐุง ูƒุงู† ุฅุฐุง ุงู„ู€ B ู‡ุฐุง
530
00:47:05,820 --> 00:47:13,000
ู…ุชูƒูˆู† ู…ู† two child born expressions ุฅุฐุง ู‡ุฐุง ู„ุญุงู„ู‡
531
00:47:13,000 --> 00:47:20,260
true ูุจุฏูŠ ุฃูŠุถุง ุฃุจู‚ู‰ ุนู„ู‰ M ุนุดุงู† ู‡ูŠ ูƒุฐุง ุฃุญู†ุง ุฃุนุทูŠู†ุง
532
00:47:20,260 --> 00:47:25,630
ุงู„ dot true ุชุจุน ุงู„ childุชุงุฎุฏ ู†ูุณ ุงู„ dot true ุชุจุน
533
00:47:25,630 --> 00:47:35,370
actual parent ูˆุงุถุญุฉุŸ ูุงุญู†ุง ุฃู‡ู… ุญุงุฌุฉ ุฃู† ู†ุฑุจุท ุงู„
534
00:47:35,370 --> 00:47:39,210
pointers ุชุจุน ุงู„ false ูˆ ุงู„ true ุชุจุน ุงู„ B1 ูˆ B2
535
00:47:39,210 --> 00:47:43,070
ุงู„ู„ูŠ ู‡ูˆ ุงู„ child expressions ุฃูˆ sub boolean
536
00:47:43,070 --> 00:47:48,650
expressions ูˆ ุจุนุฏ ู‡ูŠูƒ ู†ูƒูˆู† ุงู„ translation
537
00:47:48,650 --> 00:47:54,690
ุงู„ุฅุฌู…ุงู„ูŠุฉ ุชุจุน ุงู„ expression ุงู„ุฅุฌู…ุงู„ูŠู‡ุฐุง ููŠ ุญุงู„ุฉ ุงู„
538
00:47:54,690 --> 00:47:58,670
or ููŠ ุญุงู„ุฉ ุงู„ and ุทุจุนุง ู‡ุฐุง ุงู„ูƒู„ุงู… ุงู„ู„ูŠ ู‡ูˆ ุฅู†ู‡ ุฅุฐุง
539
00:47:58,670 --> 00:48:02,270
ู‡ุฐุง true ุฃู‚ูุฒ ุนู„ู‰ ุทูˆู„ ูˆ ุฃุฎุฑุฌ ุนู„ู‰ ุทูˆู„ ู‡ุฐุง ุจูŠุณู…ูŠู‡
540
00:48:02,270 --> 00:48:05,590
short circuit ุตุญ ูˆู„ุง ู„ุง ุจูŠุณู…ูŠู‡ short circuit ุฅู†ู‡
541
00:48:05,590 --> 00:48:11,990
ุฃู†ุง ู…ุง ุฃุนู…ู„ุด ูุญุต ู„ูƒู„ ุงู„ disjunctions ุทุจ ู…ุง ู‡ูˆ ู‡ูŠ
542
00:48:11,990 --> 00:48:17,010
or disjunction ูุฃูŠ ูˆุงุญุฏ ู…ู†ู‡ู… true ุฎู„ุงุต ุจูˆูุฑ ุนู„ูŠ
543
00:48:17,010 --> 00:48:25,970
ุฃูุญุต ุงู„ุขุฎุฑุงู„ุงู† ู†ูุณ ุงู„ุงุดูŠ ููŠ short cut ู„ู„ end ุจุณ
544
00:48:25,970 --> 00:48:31,470
ุงู„ุนูƒุณ ูŠุนู†ูŠ ู„ูˆ ูˆุงุญุฏ ู…ู†ู‡ู… ุทู„ุน false ุจุฎุฑุฌ ูˆู…ุง ุจุญุชุงุฌุด
545
00:48:31,470 --> 00:48:36,830
ุงูุญุต ุจุฌูŠุช ุงู„ sub expressions ุงู„ sub boolean
546
00:48:36,830 --> 00:48:43,870
expressions ุตุญุŸ ุฑุงู‡ุฒ ุงู† ุงู„ุชุฑูƒูŠุจุฉ ุชุจุนุช ุงู„ code
547
00:48:49,180 --> 00:48:53,040
ู‡ู†ุง ุจูŠูˆุฉ ุญุฏู‚ ุงู„ true ุฃุฎุฏุช ุงู„ new label ุงู„ new
548
00:48:53,040 --> 00:48:56,840
label ุงู„ู„ูŠ ู‡ูˆ DG ููŠ ุงู„ู†ุต ู‡ุฐุง ุงู„ู„ูŠ ููŠ ุงู„ู†ุต ุฌุงูŠ
549
00:48:56,840 --> 00:49:04,800
ุนู„ุดุงู† ุฅูŠุด ุฌุงูŠ ุนู„ุดุงู† ุฅุฐุง ูˆุงู„ู„ู‡ ู‡ุฐุง ุงู„ true ุฃูุญุต ุฃู…ุง
550
00:49:04,800 --> 00:49:10,280
ุฅุฐุง false ุฃุทู„ุน ุจุฏูŠุด ุฃูƒู…ู„ ุจุฏูŠ ุฃุทู„ุน ุจุฑุง ุนุดุงู† ู‡ูŠูƒ ุฅุฐุง
551
00:49:10,280 --> 00:49:17,210
ู‡ูˆ true ุจูƒู…ู„ ุงู„ูุญุต ุนุดุงู† ู‡ูŠูƒ ุฅุฐุง ู‡ูˆ trueุนุดุงู† ู‡ูŠ ุฃุฌุช
552
00:49:17,210 --> 00:49:23,050
ุนู„ู‰ ุฅุถุงูุฉ true attribute ุชุจุน ุจูŠ ูˆุงุญุฏ ุฅุฐุง true ุจุฏู‰
553
00:49:23,050 --> 00:49:28,550
ุฃุชู‚ู„ ุฅู„ู‰ ุงู„ new label ู‡ุฐุง ุจุฏู‰ ูŠุฌูŠ ู‡ู†ุง ูุฅุฐุง ุจูŠ ูˆุงุญุฏ
554
00:49:28,550 --> 00:49:34,470
ุงู„ true ุจุฏู‰ ุฃู‚ูุฒ ุจุฏู‰ ุฃุฑูˆุญ ุนู„ูŠู‡ ุนุดุงู† ุฃูƒู…ู„ ูุญุต ุงู„ู„ูŠ
555
00:49:34,470 --> 00:49:38,250
ู‡ูˆ ุจูŠ ุงุชู†ูŠู† ูˆุฅุฐุง ููŠ ูƒู…ุงู† ุจุฑุถู‡ ุจูŠ ุชู„ุงุชู‡ ุทุจุนุง ู‡ุฐุง
556
00:49:38,250 --> 00:49:43,990
ุงู„ุฃู…ุฑ ุงู†ุช ุนุงุฑู ู‡ูˆ nested ูŠุนู†ูŠ ู‡ุฐุง ูŠุนู†ูŠ ู„ูˆ ุฃู†ุง ุนู†ุฏูŠ
557
00:49:43,990 --> 00:49:51,430
ุชู„ุงุช ุดุฑูˆุทู‡ูŠุฌู… ู‡ุงุฏุง
558
00:49:51,430 --> 00:50:05,270
ู‡ูŠุฌู… ู…ุชูƒูˆู† ู…ู† ุงูŠุด P1A and P1B ูˆุจุนุฏูŠู† ู‡ุงุฏุง ูุงู„ุงู†
559
00:50:05,270 --> 00:50:09,810
ุงู„ุจู†ูŠู‡ ู‡ุงุฏู‰ ุจุชุณู…ุญ ุจุงู„ nesting ุจุชุณู…ุญ ุงู† ุงู†ุง ุชุชูƒุฑุฑ
560
00:50:09,810 --> 00:50:13,890
ุงู„ graphูŠุฉ ุชุชูุฑุน ู„ุตุฏูŠู‚ ุงู„ู„ูŠ ู‡ูˆ ุงู„ conditions ู…ู†
561
00:50:13,890 --> 00:50:18,280
ุจุนุถู‡ุงููˆุงุถุญ ู„ูŠุด ู‡ุฐุง ุงู„ุงู† dot true ุฃุฎุฏ ุงู„ new label
562
00:50:18,280 --> 00:50:22,840
ุนู„ุดุงู† ุฅุฐุง ู‡ุฐุง true ูุนู„ุง ูŠูƒู…ู„ ุนู„ู‰ ุงู„ุจุนุฏ ุฅุฐุง false
563
00:50:22,840 --> 00:50:27,440
ุฅุฐุง false ุจูŠุทู„ุน ุชู…ุงู…ุง ูŠุทู„ุน ุชู…ุงู…ุง ูŠุนู†ูŠ ูŠุฑูˆุญ ุนู„ู‰ ุงู„
564
00:50:27,440 --> 00:50:33,900
statement ุงู„ู„ูŠ ุจุนุฏ B ู…ุด ู…ุด ุจูŠุฑูˆุญ ุนู„ู‰ S1 ุจูŠุฑูˆุญ ุนู„ู‰
565
00:50:33,900 --> 00:50:37,860
ุงู„ statement ุงู„ู„ูŠ ุจุนุฏ ุงู„ S ุงู„ู„ูŠ ุจุนุฏ ุงู„ S ุชู…ุงู…ุง
566
00:50:37,860 --> 00:50:43,960
ุงู„ู„ูŠ ู‡ูˆ ุนู„ู‰ ุทูˆู„ ุงู„ู„ูŠ ุจุนุฏ ุงู„ B ุชู…ุงู…ุง okay ุจูŠุทู„ุน ุจุฑุง
567
00:50:43,960 --> 00:50:50,600
ุนู„ู‰ ุงู„ุจุตูŠุฑ ุจูŠ ุฏูˆุช ููˆูƒุณ ุจูŠ ูˆุงุญุฏ ุฏูˆุช ููˆูƒุณ ุจูŠ ุฏูˆุช
568
00:50:50,600 --> 00:51:02,420
ููˆูƒุณ ุจูŠ ุงุชู†ูŠู† not true ุจูŠุณุงูˆูŠ ุจูŠ ุฏูˆุช ููˆูƒุณ ุจูŠ ุงุชู†ูŠู†
569
00:51:02,420 --> 00:51:03,920
not true ุจูŠุณุงูˆูŠ ุจูŠ ุฏูˆุช ููˆูƒุณ ุจูŠ ุงุชู†ูŠู† not true
570
00:51:03,920 --> 00:51:08,520
ุจูŠุณุงูˆูŠ ุจูŠ ุงุชู†ูŠู† not true ุจูŠุณุงูˆูŠ ุจูŠ ุงุชู†ูŠู† not true
571
00:51:08,520 --> 00:51:09,880
ุจูŠุณุงูˆูŠ ุจูŠ ุงุชู†ูŠู† not true ุจูŠุณุงูˆูŠ ุจูŠ ุงุชู†ูŠู† not true
572
00:51:09,880 --> 00:51:11,860
ุจูŠุณุงูˆูŠ ุจูŠ ุฃุชู†ูŠู† not true ุจูŠุณุงูˆูŠ ุจูŠ ุฃุชู†ูŠู† not true
573
00:51:11,860 --> 00:51:13,760
ุจูŠุณุงูˆูŠ ุจูŠ ุฃุชู†ูŠู† not true ุจูŠ
574
00:51:20,020 --> 00:51:24,240
ุฅุฐุง ู‡ุฐุง ูƒุงู† ุจูŠุดุงุฑ ุนู„ู‰ false ูˆ true ู‡ุฐุง ุจูŠุดุงุฑ ุนู„ู‰
575
00:51:24,240 --> 00:51:31,500
ุนูƒุณู‡ ูˆ ู„ุฃ okay ุงู„ุขู† ู„ูˆ ุนู†ุฏูŠ relational expression
576
00:51:31,500 --> 00:51:38,160
ุฃู†ุง relational expression ููŠ ู‡ู†ุฏูŠ ุฅู„ู‡ ุชุฑุฌู…ุฉ
577
00:51:38,160 --> 00:51:44,080
ูˆุงู„ุชุงู†ูŠ ุฅู„ู‡ ุชุฑุฌู…ุฉ ุงู„ุขู† ุงู„ value ุงู„ู†ู‡ุงุฆูŠ ุชุจุนู‡ุง ูˆ ุงู„
578
00:51:44,080 --> 00:51:47,200
value ุงู„ู†ู‡ุงุฆูŠ ุชุจุนู‡ุง ููŠ ู…ูŠู† ููŠ ุงู„ dot address
579
00:51:47,200 --> 00:51:49,820
ุชุจุนุชู‡ู… ุตุญุŸ
580
00:51:50,960 --> 00:51:56,120
ู‡ุฐุง ุฅู„ู‡ dot address ูˆู‡ุฐุง
581
00:51:56,120 --> 00:52:02,860
ุฅู„ู‡ dot address ุฅุฐุง ุฃู†ุง ุนู…ู„ูŠุง ู…ุงุฐุง ุฃูุนู„ุŸ ุจุฏูŠ ุฃุนู…ู„
582
00:52:02,860 --> 00:52:09,040
instruction ุงู„ู„ูŠ ุชุฃุฎุฐ ู…ู‚ุงุฑู†ุฉ ุจูŠู† ู‡ุฐูŠู† ุงู„ุฃุซู†ูŠู† ุตุญุŸ
583
00:52:09,040 --> 00:52:14,160
ู…ู‚ุงุฑู†ุฉ ุนู„ู‰ ุฃุณุงุณ relations of if
584
00:52:19,810 --> 00:52:30,730
ุฅุฐุง ู‡ุฐุง .. ุฅุฐุง ุงู„ู…ู‚ุงุฑู†ุฉ ู‡ุฐู‡ true ุฅุฐุง E1.address
585
00:52:30,730 --> 00:52:37,010
relation up E2.address go to ุงู„ true ุชุจุน ุงู„ B ู…ุง
586
00:52:37,010 --> 00:52:41,470
ู‡ูˆ ุฃุตู„ุง ุงู„ B ู‡ุฐุง ุฌุงุก ุฒูŠ ู…ุง ู‚ู„ู†ุง ููŠ expression ุงู„ B
587
00:52:41,470 --> 00:52:45,330
ุฃูˆ ููŠ ุงู„ statement ูƒุจูŠุฑ ูุจุฏู†ุง ุฅุฐุง ู‡ุฐุง ูƒู„ู‡ true
588
00:52:45,330 --> 00:52:47,170
ุจุฏู†ุง ู†ุฑูˆุญ ุนู„ู‰
589
00:52:51,170 --> 00:52:56,110
ุฃูˆ ุงู„ู‡ูŠ ุจุฑู…ูˆ ูุฅุฐุง
590
00:52:56,110 --> 00:53:01,130
ู‡ุฐุง ุงู„ expression ุงู„ address ุชุจุนู‡ ูุนู„ุง ุจุงู„
591
00:53:01,130 --> 00:53:05,410
relation operator ู‡ุฐุง ูŠุนู†ูŠ ุงูุชุฑุถ ุงู† ู‡ุฐุง ุงูƒุจุฑ ู…ู†ู‡
592
00:53:05,410 --> 00:53:15,750
ูุฅุฐุง ู‡ุฐุง ุงู„ temporary ุชุจุนู‡ T5 ู…ุซู„ุง ุงูƒุจุฑ ู…ู† T7 ูŠุจู‚ู‰
593
00:53:15,750 --> 00:53:18,510
ูุนู„ุง ู…ุชุญู‚ู‚ ู‡ุฐุง ุงู„ุดุฑุท ูŠุจู‚ู‰ ุจุฏู†ุง
594
00:53:21,240 --> 00:53:27,120
ุงู„ jump ุชูˆุฏูŠู†ุง ุนู„ู‰ ุงู„
595
00:53:27,120 --> 00:53:30,900
be true ุฃูˆ ุงู„ not true ุชุจุนุฉ ุงู„ expression ูƒู„ู‡ ูˆุฅู„ุง
596
00:53:30,900 --> 00:53:37,840
ุจู†ูŠุงู‡ุง ุชูˆุฏูŠู†ุง
597
00:53:37,840 --> 00:53:41,840
ุนู„ู‰ ุงู„ false ูŠุนู†ูŠ ุจุนู…ู„ ุงู„ two statements ูˆู„ุง ุจุนู…ู„
598
00:53:41,840 --> 00:53:46,380
ูˆุงุญุฏุฉ ู…ู†ู‡ู… ูƒุนู…ู„ generator ู„ุชู†ุชูŠู† ูˆู„ุง ูˆุงุญุฏุฉ
599
00:53:52,370 --> 00:53:55,690
ุชู†ุณุงุด ุงู† ุงู†ุง ู„ุงุฒู… ููŠ ุงู„ุฃูˆู„ ุจุฑุถู‡ ุงุฑูƒุจ ุงู„ dot code
600
00:53:55,690 --> 00:53:57,750
ุชุจุน ุงู„ expression ูˆ ุงู„ dot code ุชุจุน ุงู„ expression
601
00:53:57,750 --> 00:54:04,150
ุงู„ุชุงู†ูŠ ุตุญุŸ ุงู‡ ุจุชูŠุฌูŠ .. ุงู‡ ุนุดุงู† ููŠ ุงู„ุฃูˆู„ ูŠุชูƒุฒู†
602
00:54:04,150 --> 00:54:08,690
ุงู„ู‚ูŠู… ุชุจุนุชู‡ู… ููŠ temporaries ูŠุนู†ูŠ ู‡ุฐุง ุงู„ expression
603
00:54:08,690 --> 00:54:14,830
E1 dot code ุนุจุงุฑุฉ ุนู† ู…ุฌู…ูˆุนุฉ instructions ููŠ ุงู„ุขุฎุฑ
604
00:54:14,830 --> 00:54:20,850
ููŠ temporary ูˆ T5 ู‡ูˆ ุงู„ู„ูŠ ุจูŠุญุชูˆูŠ ุนู„ู‰ ุงู„ value ุชุจุน
605
00:54:20,850 --> 00:54:26,320
ู‡ุฐุง ุงู„ expressionูˆ ู„ุญู…ุช ุนู„ู‰ ุทูˆู„ ุฎู„ูู‡ ุงู„ code ุชุจุน
606
00:54:26,320 --> 00:54:34,800
ู…ูŠู† ููŠ ูˆุงุญุฏ dot code ูˆ ุงูŠู‡ ุงุชู†ูŠู† dot code ูู‡ูƒุฐุง
607
00:54:34,800 --> 00:54:39,700
ุงุชุฌุงุฑุช ู„ู„ุงุชู†ูŠู† ุนุดุงู† ุชุฌูŠุจ ู†ุชุงุฆุฌู‡ุง ุงู„ุงู† ู‡ุฐุง ุฅุฌู…ุงู„ูŠ
608
00:54:39,700 --> 00:54:45,760
ุชุจุนู‡ ุตูุฑ ููŠ T5 ูˆู‡ุฐุง ุงู„ T11 ุงู„ุงู† ุงู†ุง ุจุฏุฃ ุงู‚ูˆู„ if T5
609
00:54:45,760 --> 00:54:51,780
ุงู‡ูˆุงู„ relational operator ุงู„ู„ูŠ ุฏุงุฎู„ ู…ุนุงู‡ ู‡ูˆ ู†ูุณู‡
610
00:54:51,780 --> 00:54:56,340
ุจุฏูŠ ุฃู† ุฃู†ุฒู„ู‡ ู‡ู†ุง T11
611
00:54:56,340 --> 00:55:02,640
ุงูŠุด ุฃุณูˆูŠ go to ุงู„
612
00:55:02,640 --> 00:55:12,660
B dot ุงู„ true ู‡ู„ ุงูŠุถุง ุงุนู…ู„ ูˆุงุญุฏ ุชุงู†ูŠ ุงู‚ูˆู„ ุงู„ู„ูŠ ู‡ูŠ
613
00:55:12,660 --> 00:55:16,860
ู‡ุฐู‡ go to B false
614
00:55:24,070 --> 00:55:29,330
ุงู„ุชุงู†ุชูŠุฑ ู„ุงุฒู… ูŠูƒูˆู† ู…ูˆุฌูˆุฏุฉ ู„ุฃู†ู‡ ุฒูŠ ู…ุง ุจู†ู‚ูˆู„ ู‡ู†ุง ู‡ุฐุง
615
00:55:29,330 --> 00:55:33,170
ู‡ูŠุชู†ูุฐ ู‡ุณุท ุจุงู„ value ุชุจู‚ู‰ ููŠ T5 ู‡ุฐุง ู‡ูŠุชู†ูุฐ ู‡ุณุท ุจุงู„
616
00:55:33,170 --> 00:55:39,050
value ููŠ T11 ู‡ู†ุง ู‡ุชุญุตู„ ู…ู‚ุงุฑู†ุฉ ุฅุฐุง ูุนู„ T5 ุญู‚ู‚ ู…ุน
617
00:55:39,050 --> 00:55:46,230
T11 ุญู‚ู‚ ุงู„ condition ูู‡ูŠุฑูˆุญ ุนู„ู‰ ุงู„ true ุทุจุนุง ูˆุฅู„ุง
618
00:55:46,230 --> 00:55:49,850
ู‡ูŠุฑูˆุญ ุนู„ู‰ ุงู„ false ูู‡ุฏูˆู„ ุงู„ two ุงู„ู„ูŠ ู„ุงุฒู… ูŠูƒูˆู†
619
00:55:49,850 --> 00:55:54,610
ู…ูˆุฌูˆุฏุฉ ุนุดุงู† ูˆุฌู‡ ุงู„ flow ofcontrol ุนู„ู‰ ุงู„ู†ุงุณ ูˆุงุญุฏุฉ
620
00:55:54,610 --> 00:56:00,230
ู…ู†ู‡ู… ู…ูˆุฌูˆุฏุฉ ูˆุงุญุฏุฉ ู…ู†ู‡ู… ู…ูˆุฌูˆุฏุฉ ุจุณ ู…ุนู†ุงุชู‡ ุงู†ุง ู…ุด
621
00:56:00,230 --> 00:56:04,370
ุนุงุฑู ูŠู…ูƒู† ุงู„ instruction ุงู„ู„ูŠ ู‡ู†ุง ุชุจู‚ู‰ ู‡ูŠ ุงู„ู„ูŠ ุงู†ุง
622
00:56:04,370 --> 00:56:10,690
ุจุฏูŠู‡ุง ุงู„ false ูˆู…ู…ูƒู† ู„ุฃ ู„ุงุฒู… ุงู†ุง ูŠุจู‚ู‰ ู…ุญุฏุฏ ุจุงู„ุธุจุท
623
00:56:10,690 --> 00:56:14,610
ุงู„ูˆุฌู‡ุฉ ุชุจุนุชู‡ ู…ู† ุฎู„ุงู„ ุจูˆุชู‡ ุทุจ ู‡ูˆ ู„ูŠุด ุนู…ู„ flow
624
00:56:14,610 --> 00:56:16,230
control ุจู†ุงุก ุนู„ู‰ ูƒู„
625
00:56:21,870 --> 00:56:24,950
ู…ู…ูƒู† ูŠุจู‚ู‰ ุนุจุงุฑุฉ ุนู† two mathematical expressions
626
00:56:24,950 --> 00:56:29,470
ุจูŠู† ุงู„ู‚ุงุฑู† ุงู„ู„ูŠ .. ู„ุฃ ุฃู†ุง .. ุฃู†ุง ู‡ุด ู‚ุตุฏูŠ ูŠุนู†ูŠ ู…ุซู„ุง
627
00:56:29,470 --> 00:56:32,390
ููŠ ุงู„ .. ููŠ ุงู„ binary operators ุงู„ู„ูŠ ู‡ูˆ ุงู„ and ูˆ
628
00:56:32,390 --> 00:56:36,470
ุงู„ or ุฃูˆู„ุง ู…ู† ูŠ .. ุชู…ุงู… ูˆ ุงู„ unary operator
629
00:56:36,470 --> 00:56:38,530
ุงุณุชุฎุฏู…ู‡ู… ุนู„ู‰ ุฃู†ู‡ ู‚ูˆู„ูŠ ุงู„ expression ู‚ูˆู„ูŠ ุงู„
630
00:56:38,530 --> 00:56:40,990
expression ุจุฏูŠ ุฃุฎุฒู† ู‚ูŠู…ุฉ ููŠ ู…ูƒุงู† ูู„ุงู† ูˆ ุฎู„ุงุตุŒ
631
00:56:40,990 --> 00:56:45,190
ู…ุงุดูŠุŸ ุฃู…ุง ู‡ู†ุง ููŠ ุขุฎุฑ ูˆุงุญุฏุฉ image array
632
00:56:50,840 --> 00:56:53,780
ู‡ุฐู‡ three address code instructions ุงุญู†ุง ู„ู…ุง ุญูƒูŠู†ุง
633
00:56:53,780 --> 00:56:55,500
ููŠ ุงู„ three address code instructions ู‚ู„ู†ุง ุงู†ู‡
634
00:56:55,500 --> 00:57:00,420
ููŠู‡ุง ุฃู†ูˆุงุน ููŠ ุงู„ jumps ูˆ ุงู„ jumps ููŠ conditional ูˆ
635
00:57:00,420 --> 00:57:07,100
unconditional ูู‡ุฐู‡ ู‚ุจุนุง conditional jump ู†ูˆุน ู…ู† ุงู„
636
00:57:07,100 --> 00:57:09,380
three address instruction ููŠู‡ุง ุฏูŠ F ูŠุนู†ูŠ ู‡ูˆ
637
00:57:09,380 --> 00:57:12,880
ู…ุงุจุชุนุงู…ู„ุด ู…ุน ุงู„ true ูˆ ุงู„ false ูู‡ูŠ ู…ุงุจุชุนุงู…ู„ุด ู…ุน
638
00:57:12,880 --> 00:57:15,580
ุงู„ true ูˆ ุงู„ false ูˆ ุงู„ false ุนู„ู‰ ุงู†ู‡ู… ุจุณ value
639
00:57:15,580 --> 00:57:21,190
ุจู†ุงุก ุนู„ู‰ ุงู„ relationู‡ูˆ ุงุชุนุงู…ู„ ู…ุนุงู‡ู… ู‡ู†ุง ููŠ ู‡ุฐู‡
640
00:57:21,190 --> 00:57:25,770
ุงู„ุญุงู„ุฉ ุงู„ู€ Boolean expression ู‡ูˆ ุนุจุงุฑุฉ ุนู† two
641
00:57:25,770 --> 00:57:29,390
mathematical expressions ูƒู„ ูˆุงุญุฏ ู„ู‡ ู‚ูŠู…ุชู‡ ุจู†ู‚ุงุฑู†
642
00:57:29,390 --> 00:57:32,530
ู…ุง ุจูŠู† ู‚ูŠู… ุชุจุนุชู‡ู… ุจ some kind of relational
643
00:57:32,530 --> 00:57:35,810
operator ุฒูŠ ุงู„ greater than equal or less than
644
00:57:35,810 --> 00:57:40,610
ูˆุฅุฐุง ุจู†ุงุก ุนู„ู‰ ุงู„ relational operator ุจุชุญุฏุฏ if true
645
00:57:40,610 --> 00:57:45,190
or false ูŠุนู†ูŠ ู…ุซู„ุง ู‡ุฐุง ู…ูุชุฑุถ ู‡ุฐุง ูƒุงู† ู‚ูŠู…ุชู‡ ููŠ
646
00:57:45,190 --> 00:57:49,400
ุงู„ุขุฎุฑ ุชู„ุงุชุฉ ูˆู‡ุฐุง ู‚ูŠู…ุชู‡ ุฃุฑุจุนุฉูˆู‡ุฐุง ุฃูƒุจุฑ ู…ู†ู‡ุŒ ุชู„ุงุชุฉ
647
00:57:49,400 --> 00:57:57,880
ุฃูƒุจุฑ ู…ู† ุฃุฑุจุนุฉุŸ ู„ุฃุŒ false ูุฅุญู†ุง
648
00:57:57,880 --> 00:58:01,200
ุงู„ู„ูŠ ุจู†ู‚ูˆู„ู‡ ุฅู†ู‡ ุงู„ู€ Boolean expression ุงู„ู€ Boolean
649
00:58:01,200 --> 00:58:04,460
expression ู‚ุฏ ูŠุชูƒูˆู† ู…ู† two Boolean expressions
650
00:58:04,460 --> 00:58:08,780
ุจูŠู†ู‡ู… and ุฃูˆ or ุฃูˆ ู‚ุฏ ูŠุชูƒูˆู† ู…ู† mathematical
651
00:58:08,780 --> 00:58:14,740
expressions ุจูŠู†ู‡ู… relational operators ููŠ ู…ุซู„ ู‡ุฐุง
652
00:58:14,740 --> 00:58:22,910
ุงู„ุญุงู„ุฉู‡ุฐุง ุงู„ู€ Relational Operator ู„ุงุฒู… ูŠู†ุฒู„ ุฒูŠ ู…ุง
653
00:58:22,910 --> 00:58:27,910
ู‡ูˆ ููŠ ุงู„ู€ three address code ู„ุงุฒู… ูŠู†ุฒู„ ุฒูŠ ู…ุง ู‡ูˆ
654
00:58:27,910 --> 00:58:31,130
ุฃู†ุง ู…ุงุนุฑูุด ุดูˆ ู‡ูŠูƒูˆู† ุงู†ุง ู…ุด ุนุงุฑู ุดูˆ ู‡ูŠูƒูˆู† ู‡ูŠูƒูˆู†
655
00:58:31,130 --> 00:58:35,810
ุงูƒุจุฑ ู…ู† ุงุตุบุฑ ู…ู† ูŠุณุงูˆูŠ not equal less than or equal
656
00:58:35,810 --> 00:58:39,010
greater than or equal ู…ุด ุนุงุฑูู‡ ุจู†ุฒู„ ุฒูŠ ู…ุง ู‡ูˆ ููŠ
657
00:58:39,010 --> 00:58:39,170
ุงู„ู€
658
00:58:46,760 --> 00:58:51,120
ุจุงุฎุฏ ุงู„ address ุชุจุน ุงู„ expression ุงู„ุฃูˆู„ุงู†ูŠ ูˆุงู„
659
00:58:51,120 --> 00:58:55,040
address ุชุจุน ุงู„ expression ุงู„ุชุงู†ูŠ ูˆุจุญุท ุจูŠู†ู‡ู… ุงู„
660
00:58:55,040 --> 00:59:00,140
relational operator ูŠุนู†ูŠ ุจู†ุงุก ุนู„ู‰ ู‡ุฐุง ุงู„ boolean
661
00:59:00,140 --> 00:59:05,880
value ุงู„ู„ูŠ ู‡ูŠุทู„ุน ุจ .. ุฅุฐุง ู‡ูˆ true ุจู‚ูˆู„ู‡ go to true
662
00:59:05,880 --> 00:59:12,640
ุงู„ S ุฅุฐุง ูˆุตู„ ู‡ู†ุง ูŠุนู†ูŠ ู‡ุฐุง ู…ุด .. ู…ุด true ุฅุฐุง ุนู„ู‰
663
00:59:12,640 --> 00:59:13,920
ุทูˆู„ ุจู‚ูˆู„ู‡ ุฑูˆุญ ุนู„ู‰ false
664
00:59:17,320 --> 00:59:22,400
ูู‡ุฐู‡ ุงู„ุชู„ุงุช ุญุงู„ุงุช ู„ู€ Boolean expression ุฎู„ุงุต ู‡ูŠ
665
00:59:22,400 --> 00:59:27,460
ุจุชูƒูˆู† ุงูƒุชู…ู„ุช ุงู„ dot code ุฃูˆ ุงู„ุชุฑุฌู…ุฉ ูŠุนู†ูŠ ุชุจุน ุงู„ู€
666
00:59:27,460 --> 00:59:32,840
Boolean expression ูˆูŠู† ู…ุง ุจุชุญู„ ูˆูŠู† ู…ุง ุญู„ุช ู‡ุฐู‡ ุงู„ู€
667
00:59:32,840 --> 00:59:38,440
Boolean expression ููŠ some larger construct ุจุชุชุงุฎุฏ
668
00:59:38,440 --> 00:59:43,380
ุฒูŠ ู…ุง ู‡ูŠ ูˆุจูŠู†ุจู†ู‰ ุนู„ูŠู‡ุง ุงู„ุชุฑุฌู…ุฉ ุชุจุน ุงู„ larger
669
00:59:43,380 --> 00:59:46,810
constructูู‡ูˆ ุฅุฐุง ูƒุงู† ู‡ุฐุง ุงู„ูƒู„ุงู… ู†ุชุฑูƒู‡ ู„ู„ู…ุญุงุถุฑุฉ
670
00:59:46,810 --> 00:59:53,310
ุงู„ุชุงู„ูŠุฉ ุจุณ ููŠ ุงู„ุตูุฉ ุงู‡ู…ุฉ ุฅุฐุง ุฃู†ุง ุนู†ุฏูŠ statement
671
00:59:53,310 --> 01:00:00,010
ุนุจุงุฑุฉ ุนู† F ู…ุงููŠุด ููŠู‡ุง S ู…ู…ูƒู† ูŠูƒูˆู† ุนู†ุฏูŠ F ู…ุนุงู†ุง S
672
01:00:00,010 --> 01:00:03,530
ู…ู…ูƒู† ูŠูƒูˆู† ููŠ ุนู†ุฏูŠ while ู…ู…ูƒู† ูŠูƒูˆู† ุนู†ุฏูŠ ุญุงู„ุงุช ุฃุฎุฑู‰
673
01:00:03,530 --> 01:00:10,210
ู…ู† ุงู„ control flow statements ุจูŠุฌูŠ ุงู„ dot code
674
01:00:10,210 --> 01:00:19,640
ุชุจู‚ู‰ ุงู„ B ุดูƒู ูˆุงุญุฏุฉ ุจู†ุฒู„ูŠุงู„ูŠ label ูŠุงู„ูŠ ูƒุฏู‡ ุตุญ
675
01:00:19,640 --> 01:00:25,620
ูู‡ุฐุง ุงู„ุฌุฒุฆูŠุฉ ุจุชูƒูˆู† ุงู„ุชุนุงู…ู„ ู…ุนุงู‡ุง ูˆุจุชูŠุฌูŠ ุงู„ output
676
01:00:25,620 --> 01:00:28,420
ุชุจุนู‡ุง ุงู„ู„ูŠ ู‡ูŠ ุงู„ dot quota ุจุชู„ุจูŠู‡ ุงู„ expression ุฒูŠ
677
01:00:28,420 --> 01:00:31,720
ู…ุง ู‡ูˆ ููŠ ุงู„ statement ูŠุนุทูŠูƒู… ุงู„ุนุงููŠุฉ