image/svg+xml
ocamllex tutorial
1. Introduction
2. Some simple examples
3. Format of the input file
4. Patterns
5. How the input is matched
6. Actions
6.1 Position
7. The generted scanner
8. Start conditions
9. Interfacing with ocamlyacc
10. Options
11. Usage tips
11.1 Keyword table
11.2 Nested comments
12. Examples
12.1 Translate
12.2 Word count
12.3 Toy language
13. License
13.1 License in flex manual
13.2 Copyright and permission
ocamlyacc tutorial
1. Introduction
2. Concepts of ocamlyacc
Languages and context-free grammars
From Foraml Rules to Ocamlyacc Input
Semantic values
Semantic actions
Locations
Ocamlyacc output
Stages in use ocamlyacc
Overall layout of grammar
3. Examples
Reverse Polish Notation Calculator
Infix Notation Calculator
Simple Error Recovery
Location Tracking Calculator
Multi-Function Calculator
4. Grammar Files
Grammar outline
Symbols, Terminal and Nonterminal
Syntax of grammar rules
Recursive Rules
Defineing Language Semantics
Tracking Locations
Nonterminal Symbols
Ocamlyacc Declarations
5. Parser interface
Parser Functions
Lexical Functions
Error Functions
6. Parser algorithm
Lookahead Tokens
Operator Precedence
Shift Reduct Conflicts
Context-Dependent Precedence
Parser States
Reduce/Reduce Conflicts
Misterious Reduce/Reduce Conflicts
7. Error Recovery
8. Debugging your parser
9. Invoking Ocamlyacc
Options
10. License
Bison license
Copyright and permission
lablgtk2 tutorial
1. Introduction
2. Getting started
Hello world in GTK
Compiling hello world
Theory of Signals and Callbacks
Events
Stepping throught hello world
3. Moving on
More on signal handlers
Upgraded hello world
4. Packing widgets
Theory of packing boxes
Details of boxes
Packing demonstration program
Packing using tables
Table packing example
5. Widget overview
Type conversion
Widget hierarchy
Widget without windows
Structure of widgets
6. Creating Widgets
Default arguments
Memory management
7. Button widget
Normal buttons
Toggle buttons
Check buttons
Radio buttons
8. Adjustments
Creating an adjustment
Using adjustments
Adjustment internals
9. Range widgets
Scale widget
Common range functions
Key and mouse bindings
Example
10. Miscellaneous widgets
Labels
Arrows
Tooltips object
Progress bars
Dialog widgets
Rulers
Statusbars
Text entry
Spin button
Combo box
Calendar
Color selection
File selection
11. Container widgets
EventBox
Alignment widget
Fixed container
Layout container
Frames
Aspect frames
Paned window widget
View ports
Scrolled windows
Button boxes
Toolbar
Notebooks
12. Menu widgets
Manual menu createion
Manual menu example
Automatic menu generation
13. Undocumented widgets
14. Setting widget attributes
15. Timeouts and idle functions
Timeouts
Idle functions
16. Advanced event and signal handling
17. Clipboard
18. Drag-and-drop
19. GTK's rc files
Functions for rc files
GTK's rc file format
Example rc file
20. Scribble, drawing program
Event handling
Drawing
21. Contributing
22. Credits
23. Tutorial copyright and permissions notice
lablgtk2 treeview tutorial
More
Tags
Built with
Hugo
Tutorials
>
ocamlyacc tutorial
> License
License
Bison license
Bison License
Copyright and permission
Copyright and Permission
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus