Originally Posted by
ninja9578
I actually don't implement a syntax checker, my company has a dev-staging-live process, my app is live so it's assumed that everything is correct when it gets to me.
I do implement inline functions in that very way, and as for user defined real functions, well, my current language doesn't support those at this time, but I plan to add them in the very near future. They aren't that difficult. Basically, you would just replace a call to that function with something like @UserDefined(<place>) during a preprocessing pass. Then when you compile your callbacks, you have it point to the function that you've defined.
Yeah, scripting languages are weird things, and difficult to start implementing, but once you've done a few of them, you can write pretty advanced ones really quickly.
You mean in a scripting language, or in C++?