summary refs log tree commit diff stats
path: root/compiler/passaux.nim
Commit message (Expand)AuthorAgeFilesLines
* improvements to hint:processing: show import stack, distinguish nims, show in...Timothee Cour2021-06-301-9/+4
* even lighter version of #17938: fix most issues with UnusedImport, XDeclaredB...Timothee Cour2021-06-261-1/+1
* add `--processing:dots|filenames|off` to customize `hintProcessing` (#17817)Timothee Cour2021-04-231-3/+4
* explicit ID generation for easier IC (#15559)Andreas Rumpf2020-10-251-4/+4
* properly handle note override logic/verbosity/config/cmdline using modifiedyN...Timothee Cour2020-02-271-2/+2
* [refactoring] remove unused imports in the compiler and in some stdlib modulesAraq2019-07-181-1/+1
* styleCheck: make the compiler and large parts of the stdlib compatible with -...Araq2019-07-101-1/+1
* Make the registered passes local to the ModuleGraph (#9259)LemonBoy2018-10-091-2/+2
* incremental compilation: implemented basic replay logicAndreas Rumpf2018-06-021-1/+1
* remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-1/+1
* options.nim: no global variables anymoreAndreas Rumpf2018-05-131-1/+1
* the remaining passes all compile againAndreas Rumpf2018-05-131-6/+10
* big compiler refactoring; avoid globals for multi method dispatcher generationAndreas Rumpf2017-02-221-18/+0
* new dependency tracking for nimsuggestAraq2016-11-051-1/+3
* refactoring complete: explicit ident cacheAraq2016-10-311-2/+2
* C code generation now deterministic; fixes #4364Andreas Rumpf2016-06-221-1/+1
* compiler: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-041-12/+12
* Introduce NotesVerbosity defining verbosity levelsAdam Strzelecki2015-07-031-1/+1
* Nimrod renamed to NimAraq2014-08-281-1/+1
* 'nil' as a statement is deprecated, use an empty 'discard' insteadAraq2014-01-191-1/+1
* case consistency part 4Araq2013-12-271-3/+3
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
* CaaS in-memory cachingZahary Karadjov2012-11-281-2/+2
* caas is now drivable through stdinZahary Karadjov2012-11-281-8/+3
* docgen2 improvementsAraq2012-06-231-1/+1
* year 2012 for most copyright headersAraq2012-01-021-1/+1
* lazy loading of body ast implementedAraq2011-10-301-1/+1
* much more efficient rod file generationAraq2011-10-181-2/+2
* big repo cleanupAraq2011-04-121-0/+52
stitute> 2022-12-07 15:57:23 -0500 Planes grow' href='/elioat/december-2022/commit/src/ask.lil?id=05f7c6eee09b468a9ddff63ab20a62bc962421c5'>05f7c6e ^
e8cc8cd ^
05f7c6e ^
e8cc8cd ^
05f7c6e ^
e8cc8cd ^
05f7c6e ^
e8cc8cd ^
81c20cf ^
e8cc8cd ^
81c20cf ^
e8cc8cd ^


bd337d3 ^
e8cc8cd ^
bd337d3 ^
e8cc8cd ^
1a8b726 ^
e8cc8cd ^

1a8b726 ^
e8cc8cd ^



1a8b726 ^

0ec27e5 ^



































0ec27e5 ^










1a8b726 ^
e8cc8cd ^






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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
                                                                       
                                                                           

                                                                           



                                                                            



                                                                
 
                      
 
         
 
                                               
 
         
 
                                            
 
         
 
                                                  
 
         
 
                                                            
 
         
 
                                                      
 
         
 
                                                                                                                               
 
                          
 


                
 
                                                                                                                                                                                     
 
                 
 

                                                                        
 



                                         

 



































                                                                                       










                                                                          
 






                                                         
# lil includes a fun query system as well as language features for both
# functional programming and vector programming -- this invites interesting
# opportunities for applications built around little databases/datasets and
# the manipulation and querying of that data! 

# I'm not 100% certain what I'm going to build with these features, yet, but
# I will use this as a space to explore what lil has to offer.

# people.name:"Alice","Sam","Thomas","Sara","Walter"
# people.age:25,28,40,34,43
# people.job:"Chef","Sous Chef","Baker","Front of house","Baker"
# people:table people

# t:select from people

# show[t]

# s:select where ("S%m" parse name) from people

# show[s]

# d:select where ("Baker" = job) from people

# show[d]

# a:select name where ("Alice" = name) from people

# show[a]

# w:update job:"Amazing Chef" where job = "Chef" from people

# Show[w]

# l:insert name:"John" job:"Critic" age:32 into people

# show[l]

# # save:writecsv[l "sis" ","] # where sis formats the column type, here string integer string -- the other option is boolean. 

# # write["test.csv" save]

# on cons x y do
# 	x,y
# end

# breakfast: insert food:("Eggs","Pancakes","Grapefruit") quantity:(3,4,1) tasty:(1,1,0) into 0 # NOTE, 0 here could also be the name of the variable, so, in this example, breakfast

# show[breakfast]

# needle:   "apple"
# haystack: ("frog","apple","chicken","toadstool","apple","rice","fish")

# filter:count needle take haystack
# spread_conforming:sum needle = haystack
# print[filter]
# print[spread_conforming]


# spent a good bit of time playing with lil and reviewing the docs. I am now
# totally smitten and excited to use lil. 

# a basic sketch of the data table at the center of the action

# catalogue.entry_type
# catalogue.parent # not 100% certain how to reference another entry by id
# catalogue.title
# catalogue.body
# catalogue.reference
# catalogue.created_date
# catalogue.updated_date # does this matter? (sorta leaning towards "no")

# entry_type's 
# - link
# - note
# - folder

# every item can have 1 parent
# a parent is usually a folder

# data table wrapped in an interactive cli for adding, querying, and viewing
# input data. Input data stored as CSV between sessions

# NOTE: if input data is stored as CSV is becomes trivial to pipe in and out 
# of SQLite in the future...if that'd be desirable

# NOTE: I'm using just 1 table so that this can be easily exported as CSV...
# if it weren't for that requirement, I'd have multiple tables

# catalogue:table catalogue

# alternate syntax to make a table, 
# t: insert food:("Eggs","Pancakes","Grapefruit") quantity:(3,4,1) tasty:(1,1,0) into 0


# validate that I can write a table to disk and read it back in
# show[catalogue]
# out:writecsv[catalogue]
# show[out]
# write["test.csv" out]

# data:read["test.csv"]
# newtable:readcsv[data "sis "] # this column spec. syntax looks hilarious
# show[newtable]
# HUGE SUCCESS!


if args[2] do
	url:args[2]
	print[url]
else 
	print["\n    please pass a url as an argument\n"]
end