Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/PreludeIO/GetLine.hc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#include "newmacros.h"
#include "runtime.h"

#define CT_v182	((void*)startLabel+24)
#define FN_LAMBDA180	((void*)startLabel+56)
#define v183	((void*)startLabel+72)
#define CT_v185	((void*)startLabel+88)
#define F0_LAMBDA180	((void*)startLabel+96)
#define FN_LAMBDA179	((void*)startLabel+132)
#define CT_v186	((void*)startLabel+156)
#define F0_LAMBDA179	((void*)startLabel+164)
#define FN_LAMBDA178	((void*)startLabel+180)
#define CT_v188	((void*)startLabel+200)
#define CF_LAMBDA178	((void*)startLabel+208)
#define ST_v187	((void*)startLabel+212)
extern Node FN_Prelude_46Monad_46NHC_46Internal_46IO_46_62_62_61[];
extern Node CF_Prelude_46getChar[];
extern Node FN_Prelude_46Monad_46NHC_46Internal_46IO_46return[];

static Node startLabel[] = {
  bytes2word(0,0,0,0)
, useLabel(CT_v182)
,};
Node FN_Prelude_46getLine[] = {
  bytes2word(NEEDHEAP_I32,HEAP_CVAL_I3,PUSH_HEAP,HEAP_CVAL_I4)
, bytes2word(HEAP_CVAL_I5,HEAP_OFF_N1,3,RETURN_EVAL)
, bytes2word(ENDCODE,0,0,0)
, bytes2word(0,0,0,0)
,	/* CT_v182: (byte 0) */
  HW(3,0)
, 0
,};
Node CF_Prelude_46getLine[] = {
  VAPTAG(useLabel(FN_Prelude_46getLine))
, CAPTAG(useLabel(FN_LAMBDA180),1)
, VAPTAG(useLabel(FN_Prelude_46Monad_46NHC_46Internal_46IO_46_62_62_61))
, useLabel(CF_Prelude_46getChar)
, bytes2word(1,0,0,1)
, useLabel(CT_v185)
,	/* FN_LAMBDA180: (byte 0) */
  bytes2word(NEEDSTACK_I16,PUSH_CHAR_P1,10,PUSH_ARG_I1)
, bytes2word(EVAL,NEEDHEAP_I32,EQ_W,JUMPFALSE)
, bytes2word(8,0,HEAP_CVAL_I3,PUSH_HEAP)
,	/* v183: (byte 4) */
  bytes2word(HEAP_CVAL_I4,HEAP_OFF_N1,2,RETURN_EVAL)
, bytes2word(HEAP_CVAL_I5,HEAP_ARG,1,PUSH_HEAP)
, bytes2word(HEAP_CVAL_P1,6,HEAP_CVAL_P1,7)
, bytes2word(HEAP_OFF_N1,4,RETURN_EVAL,ENDCODE)
, bytes2word(0,0,0,0)
,	/* CT_v185: (byte 0) */
  HW(5,1)
, 0
,	/* F0_LAMBDA180: (byte 0) */
  CAPTAG(useLabel(FN_LAMBDA180),1)
, VAPTAG(useLabel(FN_LAMBDA178))
, VAPTAG(useLabel(FN_Prelude_46Monad_46NHC_46Internal_46IO_46return))
, CAPTAG(useLabel(FN_LAMBDA179),1)
, VAPTAG(useLabel(FN_Prelude_46Monad_46NHC_46Internal_46IO_46_62_62_61))
, useLabel(CF_Prelude_46getLine)
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v186)
,	/* FN_LAMBDA179: (byte 0) */
  bytes2word(NEEDHEAP_I32,HEAP_CVAL_N1,1,HEAP_ARG_ARG)
, bytes2word(1,2,PUSH_HEAP,HEAP_CVAL_I3)
, bytes2word(HEAP_OFF_N1,4,RETURN_EVAL,ENDCODE)
, bytes2word(0,0,0,0)
, 0
, CONSTR(1,2,0)
,	/* CT_v186: (byte 0) */
  HW(1,2)
, 0
,	/* F0_LAMBDA179: (byte 0) */
  CAPTAG(useLabel(FN_LAMBDA179),2)
, VAPTAG(useLabel(FN_Prelude_46Monad_46NHC_46Internal_46IO_46return))
, bytes2word(0,0,0,0)
, useLabel(CT_v188)
,	/* FN_LAMBDA178: (byte 0) */
  bytes2word(NEEDHEAP_I32,PUSH_CADR_N1,2,STRING)
, bytes2word(RETURN,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, CONSTRW(1,0)
, useLabel(ST_v187)
,	/* CT_v188: (byte 0) */
  HW(0,0)
, 0
,	/* CF_LAMBDA178: (byte 0) */
  VAPTAG(useLabel(FN_LAMBDA178))
,	/* ST_v187: (byte 0) */
  bytes2word(0,0,0,0)
,};

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].