Where is the "function" keyword/type implemented in the source code?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Where is the "function" keyword/type implemented in the source code?

data.pulvurizer
Hi have been searching the source code to find out where the "function" keyword/type is implemented to no avail. Could someone please tell me?

DP
Reply | Threaded
Open this post in threaded view
|

Re: Where is the "function" keyword/type implemented in the source code?

Isaiah Norton

On Thu, Oct 1, 2015 at 6:18 AM, <[hidden email]> wrote:
Hi have been searching the source code to find out where the "function" keyword/type is implemented to no avail. Could someone please tell me?

DP

Reply | Threaded
Open this post in threaded view
|

Re: Where is the "function" keyword/type implemented in the source code?

data.pulvurizer
Great resources. Thanks

On Saturday, October 3, 2015 at 2:47:59 AM UTC+1, Isaiah wrote:
One (quite literal) answer is that "function" is parsed here:
<a href="https://github.com/JuliaLang/julia/blob/19563a37268559e8424f514e03f41e4bb72f0eb9/src/julia-parser.scm#L1151-L1180" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2FJuliaLang%2Fjulia%2Fblob%2F19563a37268559e8424f514e03f41e4bb72f0eb9%2Fsrc%2Fjulia-parser.scm%23L1151-L1180\46sa\75D\46sntz\0751\46usg\75AFQjCNEqyN1Mhd7aCQRHu1igvF2iffYPgg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\75https%3A%2F%2Fgithub.com%2FJuliaLang%2Fjulia%2Fblob%2F19563a37268559e8424f514e03f41e4bb72f0eb9%2Fsrc%2Fjulia-parser.scm%23L1151-L1180\46sa\75D\46sntz\0751\46usg\75AFQjCNEqyN1Mhd7aCQRHu1igvF2iffYPgg&#39;;return true;">https://github.com/JuliaLang/julia/blob/19563a37268559e8424f514e03f41e4bb72f0eb9/src/julia-parser.scm#L1151-L1180

For an overview of how that fits in to the rest of the system, start with this documentation:
<a href="http://docs.julialang.org/en/latest/devdocs/julia/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fdocs.julialang.org%2Fen%2Flatest%2Fdevdocs%2Fjulia%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNF0X_8YPtVU4tmBbv3VWdscjX0txQ&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\75http%3A%2F%2Fdocs.julialang.org%2Fen%2Flatest%2Fdevdocs%2Fjulia%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNF0X_8YPtVU4tmBbv3VWdscjX0txQ&#39;;return true;">http://docs.julialang.org/en/latest/devdocs/julia/

...and these videos:
<a href="https://www.youtube.com/watch?v=RYZkHudRTvI&amp;list=PLP8iPy9hna6Sdx4soiGrSefrmOPdUWixM&amp;index=16" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.youtube.com/watch?v\75RYZkHudRTvI\46list\75PLP8iPy9hna6Sdx4soiGrSefrmOPdUWixM\46index\07516&#39;;return true;" onclick="this.href=&#39;https://www.youtube.com/watch?v\75RYZkHudRTvI\46list\75PLP8iPy9hna6Sdx4soiGrSefrmOPdUWixM\46index\07516&#39;;return true;">https://www.youtube.com/watch?v=RYZkHudRTvI&list=PLP8iPy9hna6Sdx4soiGrSefrmOPdUWixM&index=16
<a href="https://www.youtube.com/watch?v=osdeT-tWjzk&amp;list=PLP8iPy9hna6TSRouJfvobfxkZFYiPSvPd&amp;index=10" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.youtube.com/watch?v\75osdeT-tWjzk\46list\75PLP8iPy9hna6TSRouJfvobfxkZFYiPSvPd\46index\07510&#39;;return true;" onclick="this.href=&#39;https://www.youtube.com/watch?v\75osdeT-tWjzk\46list\75PLP8iPy9hna6TSRouJfvobfxkZFYiPSvPd\46index\07510&#39;;return true;">https://www.youtube.com/watch?v=osdeT-tWjzk&list=PLP8iPy9hna6TSRouJfvobfxkZFYiPSvPd&index=10
<a href="https://www.youtube.com/watch?v=KAN8zbM659o&amp;list=PLP8iPy9hna6Sdx4soiGrSefrmOPdUWixM&amp;index=55" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.youtube.com/watch?v\75KAN8zbM659o\46list\75PLP8iPy9hna6Sdx4soiGrSefrmOPdUWixM\46index\07555&#39;;return true;" onclick="this.href=&#39;https://www.youtube.com/watch?v\75KAN8zbM659o\46list\75PLP8iPy9hna6Sdx4soiGrSefrmOPdUWixM\46index\07555&#39;;return true;">https://www.youtube.com/watch?v=KAN8zbM659o&list=PLP8iPy9hna6Sdx4soiGrSefrmOPdUWixM&index=55

On Thu, Oct 1, 2015 at 6:18 AM, <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="65iCPKI4DAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">data.pu...@...> wrote:
Hi have been searching the source code to find out where the "function" keyword/type is implemented to no avail. Could someone please tell me?

DP