Julia Community

Discussion on: Oxygen.jl: A breath of fresh air for programming web apps in Julia

ndortega profile image
Nathan Ortega Author

That's a great question! And one that was difficult for me to figure out as well. It involved a lot of googling and reading into the Base library documentation

Essentially, there's a low-level api just for methods that's pretty good at extracting useful information. I was able to extract the number of function arguments and their types, but was unable to get the name of each variable.

I found a snippet in the julia forums that did exactly what I needed and modified it a bit to return strings instead of symbols.

(get parameter names)

(get parameter types & count)

(low-level api)