Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

Symbol Tables

< >
Example from 1 languages: Python
# https://eli.thegreenplace.net/2010/09/18/python-internals-symbol-tables-part-1
Example from 1 languages: C
// 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 1 languages: 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 Python, C, Racket, Speedie

*

View all concepts with or missing a hasSymbolTables measurement

*

Read more about Symbol Tables on the web: 1.

View source

- Build the next great programming language About Acknowledgements Extensions Day 631 Donate feedback@pldb.io