Sponsored Content
Full Discussion: Context Free Grammar
Top Forums Programming Context Free Grammar Post 26029 by auswipe on Friday 9th of August 2002 01:46:27 PM
Old 08-09-2002
Re: Context Free Grammar

Quote:
Originally posted by Nisha
Hi Folks,

I am trying to write a small compiler for syntax checking in C programs. I would like to attach a Context Free Grammar(CFC) to it.

Does any one know as to how I should associate or map the Grammar with the C program????

A quick help would help me a lot......

Thanks,
Nisha
I think a state table would work for that application.
 

3 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

My Context Free Grammar (CFG)

I don't know how to delete this thread. Admin/Mod, Please delete this thread. Thanks. (0 Replies)
Discussion started by: Cyansnow
0 Replies

2. Shell Programming and Scripting

Shell grammar question: logical OR in test

Hi, I am trying to check if two input files exist before the rest of the scripts is run. Following is the code that I have but it gives me syntax error. if then echo "File not found" else echo "File found" fi (3 Replies)
Discussion started by: nua7
3 Replies

3. Shell Programming and Scripting

Questions related to if in awk context and if without awk context

I wrote this code, questions follow #! /bin/bash -f # Purpose - to show how if syntax is used within an awk clear; ls -l; echo "This will print out the first two columns of the inputted file in this directory"; echo "Enter filename found in this directory"; read input; ... (11 Replies)
Discussion started by: Seth
11 Replies
Pango::Cairo(3pm)					User Contributed Perl Documentation					 Pango::Cairo(3pm)

NAME
Pango::Cairo - Pango rendering with the Cairo backend METHODS
layout = Pango::Cairo::create_layout ($cr) o $cr (Cairo::Context) Pango::Cairo::error_underline_path ($cr, $x, $y, $width, $height) o $cr (Cairo::Context) o $x (double) o $y (double) o $width (double) o $height (double) Since: pango 1.14 Pango::Cairo::glyph_string_path ($cr, $font, $glyphs) o $cr (Cairo::Context) o $font (Pango::Font) o $glyphs (Pango::GlyphString) Pango::Cairo::layout_line_path ($cr, $line) o $cr (Cairo::Context) o $line (Pango::LayoutLine) Pango::Cairo::layout_path ($cr, $layout) o $cr (Cairo::Context) o $layout (Pango::Layout) Pango::Cairo::show_error_underline ($cr, $x, $y, $width, $height) o $cr (Cairo::Context) o $x (double) o $y (double) o $width (double) o $height (double) Since: pango 1.14 Pango::Cairo::show_glyph_string ($cr, $font, $glyphs) o $cr (Cairo::Context) o $font (Pango::Font) o $glyphs (Pango::GlyphString) Pango::Cairo::show_layout ($cr, $layout) o $cr (Cairo::Context) o $layout (Pango::Layout) Pango::Cairo::show_layout_line ($cr, $line) o $cr (Cairo::Context) o $line (Pango::LayoutLine) Pango::Cairo::update_context ($cr, $context) o $cr (Cairo::Context) o $context (Pango::Context) Pango::Cairo::update_layout ($cr, $layout) o $cr (Cairo::Context) o $layout (Pango::Layout) SEE ALSO
Pango COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Pango for a full notice. perl v5.14.2 2011-11-15 Pango::Cairo(3pm)
All times are GMT -4. The time now is 10:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy