about summary refs log blame commit diff stats
path: root/mu.dte
blob: b68fab5dd757dd9758876c3406bbf950ee8bd14e (plain) (tree)




























                                                            
# Syntax highlighting for https://gitlab.com/craigbarnes/dte
#
# To install this file, symlink it to ~/.dte/syntax/mu
# Then add this line to ~/.dte/rc:
#   ft mu mu

syntax mu

state start code
    char # comment
    char '"' string
    char -b a-z ident
    eat this

state comment
    char "\n" start
    eat this

state string
    char "\"" start string
    eat this

state ident
    char -b a-z this
    inlist keyword start
    noeat start

list keyword \
    fn type var
vc@akkartik.com> 2015-02-25 01:24:11 -0800 832 - call-stack for C++ version' href='/akkartik/mu/commit/cpp/.traces/index?h=hlt&id=6f5d7864f6c0c62b8849349cb182c61f8dbed452'>6f5d7864 ^
a55bbd06 ^
57699011 ^
6f5d7864 ^
a55bbd06 ^
57699011 ^
6f5d7864 ^
a55bbd06 ^
57699011 ^
6f5d7864 ^
844697c2 ^
07d35c4a ^
a55bbd06 ^



57699011 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
                       

                                                                                   
                       

                                                                                     
                       

                                                                                     
                       

                                                                                     
                        
                                                                                             

                                                                                   





                          
                         
                        
                              
                         
                         
                               
                         
                         
                               
                         
                         
                               
                         
                                                                                             
                                                                                   



                           
                               
parse/0: instruction: 1
parse/0:   ingredient: {name: "3", value: 0, type: 0, properties: ["3": "literal"]}
parse/0:   product: {name: "1", value: 0, type: 1, properties: ["1": "integer"]}
parse/0: instruction: 1
parse/0:   ingredient: {name: "14", value: 0, type: 0, properties: ["14": "literal"]}
parse/0:   product: {name: "2", value: 0, type: 1, properties: ["2": "integer"]}
parse/0: instruction: 1
parse/0:   ingredient: {name: "15", value: 0, type: 0, properties: ["15": "literal"]}
parse/0:   product: {name: "3", value: 0, type: 1, properties: ["3": "integer"]}
parse/0: instruction: 1
parse/0:   ingredient: {name: "16", value: 0, type: 0, properties: ["16": "literal"]}
parse/0:   product: {name: "4", value: 0, type: 1, properties: ["4": "integer"]}
parse/0: instruction: 21
parse/0:   ingredient: {name: "1", value: 0, type: 5-1, properties: ["1": "array":"integer"]}
parse/0:   ingredient: {name: "0", value: 0, type: 0, properties: ["0": "literal"]}
parse/0:   product: {name: "5", value: 0, type: 1, properties: ["5": "integer"]}
after-brace/0: recipe main
after-brace/0: copy ...
after-brace/0: copy ...
after-brace/0: copy ...
after-brace/0: copy ...
after-brace/0: index ...
run/0: instruction main/0
run/0: ingredient 0 is 3
mem/0: storing 3 in location 1
run/0: instruction main/1
run/0: ingredient 0 is 14
mem/0: storing 14 in location 2
run/0: instruction main/2
run/0: ingredient 0 is 15
mem/0: storing 15 in location 3
run/0: instruction main/3
run/0: ingredient 0 is 16
mem/0: storing 16 in location 4
run/0: instruction main/4
run/0: ingredient 0 is {name: "1", value: 1, type: 5-1, properties: ["1": "array":"integer"]}
run/0: ingredient 1 is {name: "0", value: 0, type: 0, properties: ["0": "literal"]}
run/0: address to copy is 2
run/0: its type is 1
mem/0: location 2 is 14
run/0: product 0 is 14
mem/0: storing 14 in location 5