This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include "mpi.h" | |
//------Common base------ | |
typedef int bool; | |
enum { false, true }; | |
//------Define a struct of four digit number------ | |
typedef struct { | |
int thousand; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define (eval exp env) ((analyze exp) env)) | |
(define (analyze exp) | |
(cond ((self-evaluating? exp) | |
(analyze-self-evaluating exp)) | |
((quoted? exp) | |
(analyze-quoted exp)) | |
((variable? exp) | |
(analyze-variable exp)) | |
((assignment? exp) |
OlderNewer