Languages Features Creators Calendar CSV Resources Blog About Donate Add Language
GitHub icon

Symbol Tables

< >
// Declare an external function extern double bar(double x); // Define a public function double foo(int count) { double sum = 0.0; // Sum all the values bar(1) to bar(count) for (int i = 1; i <= count; i++) sum += bar((double) i); return sum; } // Symbol Table: // Symbol name|Type|Scope // bar|function, double|extern // x|double|function parameter // foo|function, double|global // count|int|function parameter // sum|double|block local // i|int|for-loop statement
Example from Python, Cython:
Example from Racket:
;; Some programming languages allow the symbol table to be manipulated at run-time, so that symbols can be added at any time.

Languages with Symbol Tables include C, Python, C++, Objective-C, Racket, Cython, Tick C, cooC, Real-Time Concurrent C

Read more about Symbol Tables on the web: 1.

HTML of this page generated by Features.ts

hasSwitch.html 路 hasSymbolTables.html 路 hasSymbols.html

View source

PLDB - Build the next great programming language Search v2023 Day 157 Docs Acknowledgements Traffic Today Traffic Trends Mirrors GitHub