jueves, 06 de marzo de 2008
Puntos básicos en el desarrollo de sistemas

1- [...]


Sigue leyendo...!

Tags: teoria, sistemas, examen

Publicado por enchufer @ 13:39  | Teoría de Sistemas
Comentarios (0)  | Enviar
lunes, 03 de marzo de 2008

Memoria caché      

Mejora tiempo de respuesta.

[...]


Sigue leyendo...!

Tags: Sistemas, operativos, examen

Publicado por enchufer @ 11:50  | Sistemas operativos
Comentarios (0)  | Enviar

Lenguaje de programación

          &nb [...]


Sigue leyendo...!

Tags: Modelos, programación, examen

Comentarios (2)  | Enviar
miércoles, 27 de febrero de 2008
package compilador;

public class Token
{
             public static final byte IDENTIFIER = 0,    INT_LITERAL = 1,    OPERATOR = 2,
BEGIN = 3, CONST = 4,    DO= 5, ELSE = 6, END = 7, IF = 8,
IN = 9,    LET = 10,    THEN = 11,
VAR = 12,    WHILE = 13,    SEMICOLON = 14,
COLON = 15,  & [...]
Sigue leyendo...!

Tags: compilador, java

Publicado por enchufer @ 9:26  | Compilador
Comentarios (0)  | Enviar
package compilador;
//import compilador.Token;
public class Scanner
 {

private char[] sourceCode; //contiene el código fuente letra por letra
private int currentPos;    //posición actual
private char currentChar; //letra actual
private byte currentKind; //tipo spelling
private StringBuffer currentSpelling; //spelling

   public Scanner(String theSourceCode)
   {
this.sourceCod [...]
Sigue leyendo...!

Tags: Compilador, java

Publicado por enchufer @ 9:24  | Compilador
Comentarios (0)  | Enviar
package compilador;


//import java.util.Scanner;

public class Parser
{
private Token currentToken = null;
private Scanner scanner = null;

public Parser (String theSourceCode)
{
//Initializar el scanner
this.scanner = new Scanner(theSourceCode);
this.currentToken = this.scanner.scan();
}
private void accept (byte expectedKind)
{
if  ( this.currentToken.getKind() == expectedKind )
{
this.cu [...]
Sigue leyendo...!

Tags: compilador, java

Publicado por enchufer @ 9:23  | Compilador
Comentarios (0)  | Enviar
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package compilador;

/**
 *
 * @author eNcHuFe
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
       [...]
Sigue leyendo...!

Tags: compilador, java

Publicado por enchufer @ 9:21  | Compilador
Comentarios (0)  | Enviar
 
z